sniper Fri Sep 2 04:26:05 2005 EDT
Modified files:
/php-src/main php_ini.c
Log:
MFB: Always return something, even if it succeeds :)
http://cvs.php.net/diff.php/php-src/main/php_ini.c?r1=1.137&r2=1.138&ty=u
Index: php-src/main/php_ini.c
diff -u php-src/main/php_ini.c:1.137 php-src/main/php_ini.c:1.138
--- php-src/main/php_ini.c:1.137 Thu Sep 1 10:42:53 2005
+++ php-src/main/php_ini.c Fri Sep 2 04:26:05 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_ini.c,v 1.137 2005/09/01 14:42:53 sniper Exp $ */
+/* $Id: php_ini.c,v 1.138 2005/09/02 08:26:05 sniper Exp $ */
#include "php.h"
#include "ext/standard/info.h"
@@ -258,9 +258,7 @@
*/
int php_init_config_hash(void)
{
- if (zend_hash_init(&configuration_hash, 0, NULL, (dtor_func_t)
pvalue_config_destructor, 1) == FAILURE) {
- return FAILURE;
- }
+ return zend_hash_init(&configuration_hash, 0, NULL, (dtor_func_t)
pvalue_config_destructor, 1);
}
/* }}} */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php