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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user