summaryrefslogtreecommitdiff
path: root/ext/yp
diff options
context:
space:
mode:
authorFredrik Öhrn <ohrn@php.net>2001-03-20 20:04:42 +0000
committerFredrik Öhrn <ohrn@php.net>2001-03-20 20:04:42 +0000
commit88a6a97a86ef10734ff6387eabbd6cdae1e3922c (patch)
treed68ccdd9d8fd2788e4228c891842eaa6db804d26 /ext/yp
parent3cbe879b898c3d2e13b517a7fe7c43560fe1ccfd (diff)
downloadphp-git-88a6a97a86ef10734ff6387eabbd6cdae1e3922c.tar.gz
really fix the build
Diffstat (limited to 'ext/yp')
-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 c41c609d95..d0205ecd25 100644
--- a/ext/yp/yp.c
+++ b/ext/yp/yp.c
@@ -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));