cvs: php4 /ext/dbplus php_dbplus.c
| From: | Hartmut Holzgraefe | Date: | Tue, 18 Sep 2001 20:42:37 +0000 |
| Subject: | cvs: php4 /ext/dbplus php_dbplus.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-7458@lists.php.net to get a copy of this message | ||
hholzgra Tue Sep 18 16:42:37 2001 EDT
Modified files:
/php4/ext/dbplus php_dbplus.c
Log:
argument count fix
Index: php4/ext/dbplus/php_dbplus.c
diff -u php4/ext/dbplus/php_dbplus.c:1.8 php4/ext/dbplus/php_dbplus.c:1.9
--- php4/ext/dbplus/php_dbplus.c:1.8 Mon Sep 17 15:55:22 2001
+++ php4/ext/dbplus/php_dbplus.c Tue Sep 18 16:42:37 2001
@@ -1140,7 +1140,7 @@
zval **name, **dbpath;
int argc;
- if (argc <1 || argc>2 || zend_get_parameters_ex(1, &name, &dbpath) == FAILURE){
+ if ((argc <1) || (argc>2) || (zend_get_parameters_ex(2, &name, &dbpath) ==
FAILURE)){
WRONG_PARAM_COUNT;
}