cvs: php4 /ext/sablot sablot.c

From: Date: Tue, 10 Oct 2000 20:51:32 +0000
Subject: cvs: php4 /ext/sablot sablot.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-1977@lists.php.net to get a copy of this message
sterling Tue Oct 10 13:51:32 2000 EDT Modified files: /php4/ext/sablot sablot.c Log: Fix compilation, I wonder when these were omitted?? Index: php4/ext/sablot/sablot.c diff -u php4/ext/sablot/sablot.c:1.7 php4/ext/sablot/sablot.c:1.8 --- php4/ext/sablot/sablot.c:1.7 Mon Oct 9 12:18:42 2000 +++ php4/ext/sablot/sablot.c Tue Oct 10 13:51:32 2000 @@ -490,11 +490,11 @@ zval **xh, **logfile, **opt_loglevel; - php_sablot *handle; int ret = 0, loglevel = 0, argc = ZEND_NUM_ARGS(); + SABLOTLS_FETCH(); if (argc < 2 || argc > 3 || zend_get_parameters_ex(argc, &xh, &logfile, &opt_loglevel) == FAILURE) { @@ -684,7 +684,8 @@ php_sablot *handle; int serrno = 0, argc = ZEND_NUM_ARGS(); - + SABLOTLS_FETCH(); + if (argc < 0 || argc > 1 || zend_get_parameters_ex(argc, &xh) == FAILURE) { WRONG_PARAM_COUNT;

« previous php.cvs (#1977) next »