Re: cvs: php-src /ext/gd gd.c

From: Date: Thu, 28 Feb 2008 20:08:08 +0000
Subject: Re: cvs: php-src /ext/gd gd.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-48823@lists.php.net to get a copy of this message
felipe Thu Feb 28 17:43:32 2008 UTC Modified files: /php-src/ext/gd gd.c Log: Fixed return value changed previously http://cvs.php.net/viewvc.cgi/php-src/ext/gd/gd.c?r1=1.384&r2=1.385&diff_format=u Index: php-src/ext/gd/gd.c diff -u php-src/ext/gd/gd.c:1.384 php-src/ext/gd/gd.c:1.385 --- php-src/ext/gd/gd.c:1.384 Thu Feb 28 14:16:12 2008 +++ php-src/ext/gd/gd.c Thu Feb 28 17:43:32 2008 @@ -1351,7 +1351,7 @@ PHP_FUNCTION(gd_info) { if (zend_parse_parameters_none() == FAILURE) { - return; + RETURN_FALSE; }
You can leave the 'return;' there, as it's current practice to return NULL when it fails the parameter validation. You may have to tune some tests, though. Nuno

« previous php.cvs (#48823) next »