- Fixed #49183, dns_get_record does not return NAPTR records

This commit is contained in:
Pierre Joye 2009-08-07 13:31:09 +00:00
parent 46a94ebaa6
commit 35ad8e6c46
2 changed files with 1 additions and 2 deletions

1
NEWS
View File

@ -8,6 +8,7 @@ PHP NEWS
- Fixed signature generation/validation for zip archives in ext/phar. (Greg)
- Fixed memory leak in stream_is_local(). (Felipe, Tony)
- Fixed bug #49183 (dns_get_record does not return NAPTR records). (Pierre)
- Fixed bug #49132 (posix_times returns false without error).
(phpbugs at gunnu dot us)
- Fixed bug #49125 (Error in dba_exists C code). (jdornan at stanford dot edu)

View File

@ -269,7 +269,6 @@ static void php_parserr(PDNS_RECORD pRec, int type_to_fetch, int store, zval **s
case DNS_TYPE_NAPTR:
{
#ifdef DNS_NAPTR_DATA
DNS_NAPTR_DATA * data_naptr = &pRec->Data.Naptr;
add_assoc_string(*subarray, "type", "NAPTR", 1);
@ -279,7 +278,6 @@ static void php_parserr(PDNS_RECORD pRec, int type_to_fetch, int store, zval **s
add_assoc_string(*subarray, "services", data_naptr->pService, 1);
add_assoc_string(*subarray, "regex", data_naptr->pRegularExpression, 1);
add_assoc_string(*subarray, "replacement", data_naptr->pReplacement, 1);
#endif
}
break;