sas             Tue Mar 20 04:50:26 2001 EDT

  Modified files:              
    /php4/ext/yp        yp.c 
  Log:
  fix build
  
  
Index: php4/ext/yp/yp.c
diff -u php4/ext/yp/yp.c:1.17 php4/ext/yp/yp.c:1.18
--- php4/ext/yp/yp.c:1.17       Mon Mar 19 09:01:35 2001
+++ php4/ext/yp/yp.c    Tue Mar 20 04:50:26 2001
@@ -16,7 +16,7 @@
    |          Fredrik Ohrn                                                |
    +----------------------------------------------------------------------+
  */
-/* $Id: yp.c,v 1.17 2001/03/19 17:01:35 ohrn Exp $ */
+/* $Id: yp.c,v 1.18 2001/03/20 12:50:26 sas Exp $ */
 
 #include "php.h"
 #include "ext/standard/info.h"
@@ -214,6 +214,7 @@
 static int php_foreach_all (int instatus, char *inkey, int inkeylen, char *inval, int 
invallen, char *indata)
 {
        int r;
+       CLS_FETCH();
 
        zval *status, *key, *value;
        zval **args [3] = { &status, &key, &value };
@@ -227,8 +228,6 @@
 
        MAKE_STD_ZVAL (value);
        ZVAL_STRINGL (value, inval, invallen, 1);
-
-       CLS_FETCH();
 
        if(call_user_function_ex(CG(function_table), NULL, *((zval **)indata), 
&retval, 3, args, 0, NULL) != SUCCESS)
        {



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to