cvs: php-src(PHP_5_1) /main php_ini.c

From: Date: Fri, 02 Sep 2005 08:24:15 +0000
Subject: cvs: php-src(PHP_5_1) /main php_ini.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-33754@lists.php.net to get a copy of this message
sniper Fri Sep 2 04:24:15 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/main php_ini.c Log: it is good idea to return something always http://cvs.php.net/diff.php/php-src/main/php_ini.c?r1=1.136.2.1&r2=1.136.2.2&ty=u Index: php-src/main/php_ini.c diff -u php-src/main/php_ini.c:1.136.2.1 php-src/main/php_ini.c:1.136.2.2 --- php-src/main/php_ini.c:1.136.2.1 Thu Sep 1 10:44:15 2005 +++ php-src/main/php_ini.c Fri Sep 2 04:24:14 2005 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_ini.c,v 1.136.2.1 2005/09/01 14:44:15 sniper Exp $ */ +/* $Id: php_ini.c,v 1.136.2.2 2005/09/02 08:24:14 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); } /* }}} */

« previous php.cvs (#33754) next »