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)) {



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to