com php-src: fix arg spec and datatype, follow up on 73594: ext/standard/dns_win32.c
| From: | Anatol Belski | Date: | Sun, 18 Dec 2016 20:16:35 +0000 |
| Subject: | com php-src: fix arg spec and datatype, follow up on 73594: ext/standard/dns_win32.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-96372@lists.php.net to get a copy of this message | ||
Commit: 3e48baa49d45206444a4af4f808ce640ac83d5a4
Author: Anatol Belski <ab@php.net> Sun, 18 Dec 2016 21:16:35 +0100
Parents: c78fd4568e24b8c68062be0f98163b5f45213bae
Branches: PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3e48baa49d45206444a4af4f808ce640ac83d5a4
Log:
fix arg spec and datatype, follow up on 73594
Changed paths:
M ext/standard/dns_win32.c
Diff:
diff --git a/ext/standard/dns_win32.c b/ext/standard/dns_win32.c
index f28977a..17f2e54 100644
--- a/ext/standard/dns_win32.c
+++ b/ext/standard/dns_win32.c
@@ -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;
}