sniper Mon Jan 2 22:39:43 2006 UTC
Modified files:
/php-src/sapi/apache2handler php_functions.c
Log:
- Fixed apache_setenv() which requires 2 parameters
http://cvs.php.net/viewcvs.cgi/php-src/sapi/apache2handler/php_functions.c?r1=1.22&r2=1.23&diff_format=u
Index: php-src/sapi/apache2handler/php_functions.c
diff -u php-src/sapi/apache2handler/php_functions.c:1.22
php-src/sapi/apache2handler/php_functions.c:1.23
--- php-src/sapi/apache2handler/php_functions.c:1.22 Mon Jan 2 22:19:53 2006
+++ php-src/sapi/apache2handler/php_functions.c Mon Jan 2 22:39:43 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_functions.c,v 1.22 2006/01/02 22:19:53 iliaa Exp $ */
+/* $Id: php_functions.c,v 1.23 2006/01/02 22:39:43 sniper Exp $ */
#define ZEND_INCLUDE_FULL_WINDOWS_HEADERS
@@ -256,7 +256,7 @@
int arg_count = ZEND_NUM_ARGS();
request_rec *r;
- if (arg_count<1 || arg_count>3 ||
+ if (arg_count < 2 || arg_count > 3 ||
zend_get_parameters_ex(arg_count, &variable, &string_val,
&walk_to_top) == FAILURE) {
WRONG_PARAM_COUNT;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php