diff options
| author | Marcus Boerger <helly@php.net> | 2002-12-30 11:59:22 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2002-12-30 11:59:22 +0000 |
| commit | 426cf8eb5712f10e84a16f1cbb127c1aaa045d9c (patch) | |
| tree | 6f1f32ab418e8ac5c6ced94be9ca8b83c6d0449c /ext | |
| parent | a213c71735abb452a5dced0f6cc8fafe6df154f6 (diff) | |
| download | php-git-426cf8eb5712f10e84a16f1cbb127c1aaa045d9c.tar.gz | |
fix state-machine in cases T_AAAA is not available
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/standard/dns.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/standard/dns.c b/ext/standard/dns.c index a8b4c3981b..cce8ff4fe4 100644 --- a/ext/standard/dns.c +++ b/ext/standard/dns.c @@ -548,10 +548,12 @@ PHP_FUNCTION(dns_get_record) case 7: type_to_fetch = type_param&PHP_DNS_TXT ? T_TXT : 0; break; -#ifdef T_AAAA case 8: +#ifdef T_AAAA type_to_fetch = type_param&PHP_DNS_AAAA ? T_AAAA : 0; break; +#else + continue; #endif case 9: store_results = 0; |
