Browse Source

- Fixed #49183, dns_get_record does not return NAPTR records

experimental/5.3-FPM
Pierre Joye 17 years ago
parent
commit
35ad8e6c46
  1. 1
      NEWS
  2. 2
      ext/standard/dns_win32.c

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)

2
ext/standard/dns_win32.c

@ -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…
Cancel
Save