summaryrefslogtreecommitdiff
path: root/ext/mssql
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-11 09:39:09 +0000
committerZeev Suraski <zeev@php.net>2001-07-11 09:39:09 +0000
commitd70ce7be270549d737ef7efcca961c2908e9402d (patch)
tree463feaf54c0a7373f45746fc78703d4346e9ea0e /ext/mssql
parented542331b749826baa17d5bd23265b465b6a9494 (diff)
downloadphp-git-d70ce7be270549d737ef7efcca961c2908e9402d.tar.gz
var_reset -> ZVAL_RESET
Diffstat (limited to 'ext/mssql')
-rw-r--r--ext/mssql/php_mssql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c
index e53728bc86..04c3cfb635 100644
--- a/ext/mssql/php_mssql.c
+++ b/ext/mssql/php_mssql.c
@@ -829,7 +829,7 @@ static void php_mssql_get_column_content_with_type(mssql_link *mssql_ptr,int off
result->type = IS_STRING;
} else {
php_error(E_WARNING,"MS SQL: column %d has unknown data type (%d)", offset, coltype(offset));
- var_reset(result);
+ ZVAL_RESET(result);
}
}
}
@@ -871,7 +871,7 @@ static void php_mssql_get_column_content_without_type(mssql_link *mssql_ptr,int
result->type = IS_STRING;
} else {
php_error(E_WARNING,"MS SQL: column %d has unknown data type (%d)", offset, coltype(offset));
- var_reset(result);
+ ZVAL_RESET(result);
}
}