cvs: php-src(PHP_5_3) /ext/standard dns.c

From: Date: Wed, 31 Dec 2008 15:48:18 +0000
Subject: cvs: php-src(PHP_5_3) /ext/standard dns.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-55229@lists.php.net to get a copy of this message
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)) {

« previous php.cvs (#55229) next »