summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc.c
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-02-28 14:16:25 +0000
committerFelipe Pena <felipe@php.net>2008-02-28 14:16:25 +0000
commita1e8d340c3fe0c889146332fe2e2b70a11980685 (patch)
tree07b90a28be336f68ccdd644d73739163573e292f /ext/odbc/php_odbc.c
parent8e08965be64607704315293c6bea73c434ace5f3 (diff)
downloadphp-git-a1e8d340c3fe0c889146332fe2e2b70a11980685.tar.gz
New macro for check void parameters
Diffstat (limited to 'ext/odbc/php_odbc.c')
-rw-r--r--ext/odbc/php_odbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c
index accccc80f5..31f2dcdc90 100644
--- a/ext/odbc/php_odbc.c
+++ b/ext/odbc/php_odbc.c
@@ -782,8 +782,8 @@ PHP_FUNCTION(odbc_close_all)
int i;
int nument;
- if (ZEND_NUM_ARGS() != 0) {
- WRONG_PARAM_COUNT;
+ if (zend_parse_parameters_none() == FAILURE) {
+ return;
}
nument = zend_hash_next_free_element(&EG(regular_list));