From 2a2d5b6c32588fb68307075ff09724f3dd62bbcb Mon Sep 17 00:00:00 2001 From: Michael Sawyer Date: Thu, 3 Aug 2000 18:26:22 +0000 Subject: [PATCH] And while we're at it, call back into check_if_done() after send_done(), so things get shutdown in that rare condition... --- bin/dig/dighost.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index 568a95bcd4..02143dbd79 100644 --- a/bin/dig/dighost.c +++ b/bin/dig/dighost.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dighost.c,v 1.112 2000/08/03 18:23:16 mws Exp $ */ +/* $Id: dighost.c,v 1.113 2000/08/03 18:26:22 mws Exp $ */ /* * Notice to programmers: Do not use this code as an example of how to @@ -1363,6 +1363,7 @@ send_done(isc_task_t *_task, isc_event_t *event) { sendcount--; debug("sendcount=%d", sendcount); INSIST(sendcount >= 0); + check_if_done(); UNLOCK_LOOKUP; }