From de73f221e6f0941a12aa2ab91ef7c1ffa321632b Mon Sep 17 00:00:00 2001 From: Michael Sawyer Date: Wed, 12 Jul 2000 00:42:54 +0000 Subject: [PATCH] Parenthesis error in trace mode. (To see delegations in +trace, you need to do +trace +authority in dig. Should this be defaulted?) --- bin/dig/dighost.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index 9a754997bf..df7561240e 100644 --- a/bin/dig/dighost.c +++ b/bin/dig/dighost.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: dighost.c,v 1.76 2000/07/12 00:22:57 gson Exp $ */ +/* $Id: dighost.c,v 1.77 2000/07/12 00:42:54 mws Exp $ */ /* * Notice to programmers: Do not use this code as an example of how to @@ -1793,11 +1793,11 @@ recv_done(isc_task_t *task, isc_event_t *event) { if ((query->lookup->trace)|| (query->lookup->ns_search_only)) { debug("in TRACE code"); - if ((show_details || - ((dns_message_firstname(msg, - DNS_SECTION_ANSWER) - == ISC_R_SUCCESS))) && - !query->lookup->trace_root ) { + if (show_details || + (((dns_message_firstname(msg, + DNS_SECTION_ANSWER) + == ISC_R_SUCCESS)) && + !query->lookup->trace_root)) { printmessage(query, msg, ISC_TRUE); } if ((msg->rcode != 0) &&