cvs: php4 /ext/standard dns.c

From: Date: Mon, 30 Dec 2002 11:59:22 +0000
Subject: cvs: php4 /ext/standard dns.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-17462@lists.php.net to get a copy of this message
helly Mon Dec 30 06:59:22 2002 EDT Modified files: /php4/ext/standard dns.c Log: fix state-machine in cases T_AAAA is not available Index: php4/ext/standard/dns.c diff -u php4/ext/standard/dns.c:1.51 php4/ext/standard/dns.c:1.52 --- php4/ext/standard/dns.c:1.51 Fri Dec 20 13:34:56 2002 +++ php4/ext/standard/dns.c Mon Dec 30 06:59:22 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dns.c,v 1.51 2002/12/20 18:34:56 pollita Exp $ */ +/* $Id: dns.c,v 1.52 2002/12/30 11:59:22 helly Exp $ */ /* {{{ includes */ #include "php.h" @@ -548,10 +548,12 @@ 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;

« previous php.cvs (#17462) next »