1
0
mirror of https://github.com/php/php-src.git synced 2026-04-14 11:32:11 +02:00

fix arg spec and datatype, follow up on 73594

This commit is contained in:
Anatol Belski
2016-12-18 21:16:35 +01:00
parent c78fd4568e
commit 3e48baa49d

View File

@@ -347,12 +347,12 @@ PHP_FUNCTION(dns_get_record)
{
char *hostname;
size_t hostname_len;
long type_param = PHP_DNS_ANY;
zend_long type_param = PHP_DNS_ANY;
zval *authns = NULL, *addtl = NULL;
int type, type_to_fetch, first_query = 1, store_results = 1;
zend_bool raw = 0;
if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|lz!z!b",
if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|lz/!z/!b",
&hostname, &hostname_len, &type_param, &authns, &addtl, &raw) == FAILURE) {
return;
}