pajoye Wed Jan 7 13:46:13 2009 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard dns.c
Log:
- fix parameter parsing options
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/dns.c?r1=1.70.2.7.2.5.2.14&r2=1.70.2.7.2.5.2.15&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.14
php-src/ext/standard/dns.c:1.70.2.7.2.5.2.15
--- php-src/ext/standard/dns.c:1.70.2.7.2.5.2.14 Tue Jan 6 23:37:28 2009
+++ php-src/ext/standard/dns.c Wed Jan 7 13:46:13 2009
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: dns.c,v 1.70.2.7.2.5.2.14 2009/01/06 23:37:28 pajoye Exp $ */
+/* $Id: dns.c,v 1.70.2.7.2.5.2.15 2009/01/07 13:46:13 pajoye Exp $ */
/* {{{ includes */
#include "php.h"
@@ -670,7 +670,7 @@
int n, qd, an, ns = 0, ar = 0;
int type, first_query = 1, store_results = 1;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lz!z!",
&hostname, &hostname_len, &type_param, &authns, &addtl) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lzz",
&hostname, &hostname_len, &type_param, &authns, &addtl) == FAILURE) {
return;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php