summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-05-17 18:55:35 +0000
committerPierre Joye <pajoye@php.net>2010-05-17 18:55:35 +0000
commita22cd02f2faa6af1a34b3726501042bf345e8933 (patch)
tree91d249816dc0eb3b3825ab3fec4e735c0d17f871
parent059e2be1534b695b07e13b509d990141a3c1b227 (diff)
downloadphp-git-a22cd02f2faa6af1a34b3726501042bf345e8933.tar.gz
- #51844, checkdnsrr does not support types other than MX
-rw-r--r--ext/standard/dns_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/dns_win32.c b/ext/standard/dns_win32.c
index 8c94f27f4b..794912d641 100644
--- a/ext/standard/dns_win32.c
+++ b/ext/standard/dns_win32.c
@@ -122,7 +122,7 @@ PHP_FUNCTION(dns_check_record)
}
}
- status = DnsQuery_A(hostname, DNS_TYPE_MX, DNS_QUERY_STANDARD, NULL, &pResult, NULL);
+ status = DnsQuery_A(hostname, type, DNS_QUERY_STANDARD, NULL, &pResult, NULL);
if (status) {
RETURN_FALSE;