]> granicus.if.org Git - php/commitdiff
- fix parameter parsing options
authorPierre Joye <pajoye@php.net>
Wed, 7 Jan 2009 13:46:13 +0000 (13:46 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 7 Jan 2009 13:46:13 +0000 (13:46 +0000)
ext/standard/dns.c

index d2649cda0bcaa13f3cdd5d3127fdc44c264200e9..e5a73776ff609a6fc8379656abed844abb2c5a7b 100644 (file)
@@ -670,7 +670,7 @@ PHP_FUNCTION(dns_get_record)
        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;
        }