]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
belated pullup of timeout bug fix
authorAndreas Gustafsson <source@isc.org>
Wed, 26 Jul 2000 22:28:31 +0000 (22:28 +0000)
committerAndreas Gustafsson <source@isc.org>
Wed, 26 Jul 2000 22:28:31 +0000 (22:28 +0000)
bin/dig/dighost.c

index 158e4bf1690d311e7934f30dce24b9e60e11f1ed..b7af49cfb2b68fa7949665e83c792ebf19f160ff 100644 (file)
@@ -15,7 +15,7 @@
  * SOFTWARE.
  */
 
-/* $Id: dighost.c,v 1.58.2.7 2000/07/17 19:45:09 gson Exp $ */
+/* $Id: dighost.c,v 1.58.2.8 2000/07/26 22:28:31 gson Exp $ */
 
 /*
  * Notice to programmers:  Do not use this code as an example of how to
@@ -1781,7 +1781,8 @@ recv_done(isc_task_t *task, isc_event_t *event) {
                         * outages won't cause the XFR to abort
                         */
                        if ((timeout != INT_MAX) &&
-                           (query->lookup->timer != NULL)) {
+                           (query->lookup->timer != NULL) &&
+                           query->lookup->doing_xfr ) {
                                if (timeout == 0) {
                                        if (query->lookup->tcp_mode)
                                                local_timeout = TCP_TIMEOUT;