]> granicus.if.org Git - php/commitdiff
really fix the build
authorFredrik Öhrn <ohrn@php.net>
Tue, 20 Mar 2001 20:04:42 +0000 (20:04 +0000)
committerFredrik Öhrn <ohrn@php.net>
Tue, 20 Mar 2001 20:04:42 +0000 (20:04 +0000)
ext/yp/yp.c

index c41c609d95abdf98c782b363af7ca31b21a74aa9..d0205ecd258388ce4ee6c0910da791e8297aa4e1 100644 (file)
@@ -214,11 +214,10 @@ PHP_FUNCTION(yp_next) {
 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 };
        zval *retval;
+       CLS_FETCH();
 
        MAKE_STD_ZVAL (status);
        ZVAL_LONG (status, ypprot_err (instatus));