cvs: php-src /ext/standard dns.c

From: Date: Wed, 31 Dec 2008 15:48:06 +0000
Subject: cvs: php-src /ext/standard dns.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-55228@lists.php.net to get a copy of this message
tony2001 Wed Dec 31 15:48:06 2008 UTC Modified files: /php-src/ext/standard dns.c Log: 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.97&r2=1.98&diff_format=u Index: php-src/ext/standard/dns.c diff -u php-src/ext/standard/dns.c:1.97 php-src/ext/standard/dns.c:1.98 --- php-src/ext/standard/dns.c:1.97 Wed Dec 31 14:33:41 2008 +++ php-src/ext/standard/dns.c Wed Dec 31 15:48:06 2008 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dns.c,v 1.97 2008/12/31 14:33:41 iliaa Exp $ */ +/* $Id: dns.c,v 1.98 2008/12/31 15:48:06 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 (#55228) next »