tony2001 Wed Dec 31 15:48:18 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard dns.c
Log:
MFH: don't use WRONG_PARAM_COUNT with new param parsing API
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dns.c?r1=1.70.2.7.2.5.2.10&r2=1.70.2.7.2.5.2.11&diff_format=u
Index: php-src/ext/standard/dns.c
diff -u php-src/ext/standard/dns.c:1.70.2.7.2.5.2.10
php-src/ext/standard/dns.c:1.70.2.7.2.5.2.11
--- php-src/ext/standard/dns.c:1.70.2.7.2.5.2.10 Wed Dec 31 14:30:37 2008
+++ php-src/ext/standard/dns.c Wed Dec 31 15:48:18 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dns.c,v 1.70.2.7.2.5.2.10 2008/12/31 14:30:37 iliaa Exp $ */
+/* $Id: dns.c,v 1.70.2.7.2.5.2.11 2008/12/31 15:48:18 tony2001 Exp $ */
/* {{{ includes */
#include "php.h"
@@ -115,7 +115,7 @@
char buf[4096];
if (zend_parse_parameters_none() == FAILURE) {
- WRONG_PARAM_COUNT;
+ return;
}
if (gethostname(buf, sizeof(buf) - 1)) {
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php