summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-03-20 12:50:27 +0000
committerSascha Schumann <sas@php.net>2001-03-20 12:50:27 +0000
commita2ff136c8e98d52e0c8b2dbf4e136ee291a5c61a (patch)
tree794fd48874306d4dc676f9e5da838183e75dee3a
parentd4a3b4895ec1e5e9298af33751f9618ef95b71c7 (diff)
downloadphp-git-a2ff136c8e98d52e0c8b2dbf4e136ee291a5c61a.tar.gz
fix build
-rw-r--r--ext/yp/yp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/yp/yp.c b/ext/yp/yp.c
index cc7319ef5e..c41c609d95 100644
--- a/ext/yp/yp.c
+++ b/ext/yp/yp.c
@@ -214,6 +214,7 @@ 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 };
@@ -228,8 +229,6 @@ static int php_foreach_all (int instatus, char *inkey, int inkeylen, char *inval
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)
{
zend_error(E_ERROR, "Function call failed");