summaryrefslogtreecommitdiff
path: root/ext/xmlrpc
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2009-12-08 01:57:37 +0000
committerFelipe Pena <felipe@php.net>2009-12-08 01:57:37 +0000
commita94558c855ed4a9a53b3b2db226884a26bff6d4e (patch)
treedd06c337d767f8a20e6b4bb4fc697022f80af276 /ext/xmlrpc
parenta9044795da419e0002ac9ab5a3ce8f96c6de0323 (diff)
downloadphp-git-a94558c855ed4a9a53b3b2db226884a26bff6d4e.tar.gz
- Added MAKE_COPY_ZVAL(ppzv, pzv) macro
Diffstat (limited to 'ext/xmlrpc')
-rw-r--r--ext/xmlrpc/xmlrpc-epi-php.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/xmlrpc/xmlrpc-epi-php.c b/ext/xmlrpc/xmlrpc-epi-php.c
index 01de63fec2..c2cfe3b32a 100644
--- a/ext/xmlrpc/xmlrpc-epi-php.c
+++ b/ext/xmlrpc/xmlrpc-epi-php.c
@@ -570,9 +570,7 @@ static XMLRPC_VALUE PHP_to_XMLRPC_worker (const char* key, zval* in_val, int dep
}
MAKE_STD_ZVAL(val_arr);
- *val_arr = *val;
- zval_copy_ctor(val_arr);
- INIT_PZVAL(val_arr);
+ MAKE_COPY_ZVAL(&val, val_arr);
convert_to_array(val_arr);
vtype = determine_vector_type(Z_ARRVAL_P(val_arr));