svn: /php/php-src/ branches/PHP_5_3/ext/standard/dns_win32.c trunk/ext/standard/dns_win32.c
| From: | Pierre Joye | Date: | Mon, 17 May 2010 18:55:35 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/ext/standard/dns_win32.c trunk/ext/standard/dns_win32.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-62637@lists.php.net to get a copy of this message | ||
pajoye Mon, 17 May 2010 18:55:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=299432
Log:
- #51844, checkdnsrr does not support types other than MX
Bug: http://bugs.php.net/51844 (Assigned) checkdnsrr does
not support types other than MX
Changed paths:
U php/php-src/branches/PHP_5_3/ext/standard/dns_win32.c
U php/php-src/trunk/ext/standard/dns_win32.c
Modified: php/php-src/branches/PHP_5_3/ext/standard/dns_win32.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/dns_win32.c 2010-05-17 16:14:27 UTC (rev 299431)
+++ php/php-src/branches/PHP_5_3/ext/standard/dns_win32.c 2010-05-17 18:55:35 UTC (rev 299432)
@@ -122,7 +122,7 @@
}
}
- 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;
Modified: php/php-src/trunk/ext/standard/dns_win32.c
===================================================================
--- php/php-src/trunk/ext/standard/dns_win32.c 2010-05-17 16:14:27 UTC (rev 299431)
+++ php/php-src/trunk/ext/standard/dns_win32.c 2010-05-17 18:55:35 UTC (rev 299432)
@@ -122,8 +122,10 @@
}
}
- 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;
}