Re: svn: /php/php-src/ branches/PHP_5_3/ext/standard/dns_win32.c trunk/ext/standard/dns_win32.c
| From: | Johannes Schlüter | Date: | Mon, 17 May 2010 20:39:06 +0000 |
| Subject: | Re: svn: /php/php-src/ branches/PHP_5_3/ext/standard/dns_win32.c trunk/ext/standard/dns_win32.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-62641@lists.php.net to get a copy of this message | ||
test? (lookup php.net or so ... previously there were discussions about
adding test.php.net or so to our zone ...)
johannes
On Mon, 2010-05-17 at 18:55 +0000, Pierre Joye wrote:
> 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;
> }
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php