mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
- Fixed #49183, dns_get_record does not return NAPTR records
This commit is contained in:
parent
46a94ebaa6
commit
35ad8e6c46
1
NEWS
1
NEWS
@ -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)
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user