summaryrefslogtreecommitdiff
path: root/ext/sybase_ct
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>2001-07-11 12:42:25 +0000
committerThies C. Arntzen <thies@php.net>2001-07-11 12:42:25 +0000
commit0ef0f8e32bd509161a5113081f2137cd11313f3f (patch)
tree20b63b848fd3590d36f819221bdc057ae81be427 /ext/sybase_ct
parent07ea0684547d1bb701c3a7db95a7d9802500025d (diff)
downloadphp-git-0ef0f8e32bd509161a5113081f2137cd11313f3f.tar.gz
ZVAL_BOOL(v,0) -> ZVAL_FALSE(v)
Diffstat (limited to 'ext/sybase_ct')
-rw-r--r--ext/sybase_ct/php_sybase_ct.c2
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 b21a100caa..bd7090cf4d 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 */
- ZVAL_BOOL(&result->data[i][j], 0);
+ ZVAL_FALSE(&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]);