summaryrefslogtreecommitdiff
path: root/ext/sybase_ct
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-12-26 21:21:33 +0000
committerZeev Suraski <zeev@php.net>1999-12-26 21:21:33 +0000
commit235386b24569eb5d41baffa88151550ba04992ce (patch)
tree0db42a31df098a289a813527b823098d41bd5312 /ext/sybase_ct
parentc517633b4963b684fd9f43704a72bcbbe4d30bf2 (diff)
downloadphp-git-235386b24569eb5d41baffa88151550ba04992ce.tar.gz
Change ALLOC_ZVAL() semantics
Diffstat (limited to 'ext/sybase_ct')
-rw-r--r--ext/sybase_ct/php_sybase_ct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sybase_ct/php_sybase_ct.c b/ext/sybase_ct/php_sybase_ct.c
index d241e9a21c..b5106e9530 100644
--- a/ext/sybase_ct/php_sybase_ct.c
+++ b/ext/sybase_ct/php_sybase_ct.c
@@ -1224,7 +1224,7 @@ PHP_FUNCTION(sybase_fetch_row)
array_init(return_value);
for (i=0; i<result->num_fields; i++) {
- field_content = ALLOC_ZVAL();
+ ALLOC_ZVAL(field_content);
*field_content = result->data[result->cur_row][i];
INIT_PZVAL(field_content);
pval_copy_constructor(field_content);
@@ -1257,7 +1257,7 @@ static void php_sybase_fetch_hash(INTERNAL_FUNCTION_PARAMETERS)
}
for (i=0; i<result->num_fields; i++) {
- tmp = ALLOC_ZVAL();
+ ALLOC_ZVAL(tmp);
*tmp = result->data[result->cur_row][i];
INIT_PZVAL(tmp);
if (PG(magic_quotes_runtime) && tmp->type == IS_STRING) {