From 0f2fff138951f8cc5220dc0e83b71252a792032c Mon Sep 17 00:00:00 2001 From: Michael Sawyer Date: Fri, 7 Jul 2000 21:53:47 +0000 Subject: [PATCH] Print stat lines when needed. (This should be able to be safely pulled up.) --- bin/dig/dighost.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index 7fff424593..f6b25b096f 100644 --- a/bin/dig/dighost.c +++ b/bin/dig/dighost.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: dighost.c,v 1.70 2000/07/06 01:02:41 mws Exp $ */ +/* $Id: dighost.c,v 1.71 2000/07/07 21:53:47 mws Exp $ */ /* * Notice to programmers: Do not use this code as an example of how to @@ -1814,12 +1814,10 @@ recv_done(isc_task_t *task, isc_event_t *event) { &ab); check_result(result, "isc_sockaddr_totext"); isc_buffer_usedregion(&ab, &r); - if (((dns_message_firstname(msg, - DNS_SECTION_ANSWER) - == ISC_R_SUCCESS) && - query->lookup->ns_search_only && - !query->lookup->trace_root) || - query->lookup->trace) { + if ((dns_message_firstname(msg, + DNS_SECTION_ANSWER) + == ISC_R_SUCCESS) || + query->lookup->trace ) { received(b->used, r.length, (char *)r.base, query);