diff options
author | Zeev Suraski <zeev@php.net> | 2001-07-11 09:39:09 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-07-11 09:39:09 +0000 |
commit | d70ce7be270549d737ef7efcca961c2908e9402d (patch) | |
tree | 463feaf54c0a7373f45746fc78703d4346e9ea0e /ext/sybase_ct/php_sybase_ct.c | |
parent | ed542331b749826baa17d5bd23265b465b6a9494 (diff) | |
download | php-git-d70ce7be270549d737ef7efcca961c2908e9402d.tar.gz |
var_reset -> ZVAL_RESET
Diffstat (limited to 'ext/sybase_ct/php_sybase_ct.c')
-rw-r--r-- | ext/sybase_ct/php_sybase_ct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sybase_ct/php_sybase_ct.c b/ext/sybase_ct/php_sybase_ct.c index f0a01dd932..5dcdc254c7 100644 --- a/ext/sybase_ct/php_sybase_ct.c +++ b/ext/sybase_ct/php_sybase_ct.c @@ -991,7 +991,7 @@ static sybase_result * php_sybase_fetch_result_set (sybase_link *sybase_ptr) result->data[i] = (pval *) emalloc(sizeof(pval)*num_fields); for (j=0; j<num_fields; j++) { if (indicators[j] == -1) { /* null value */ - var_reset(&result->data[i][j]); + ZVAL_RESET(&result->data[i][j]); } else { result->data[i][j].value.str.len = lengths[j]-1; /* we don't need the NULL in the length */ result->data[i][j].value.str.val = estrndup(tmp_buffer[j], lengths[j]); |