2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Parenthesis error in trace mode.

(To see delegations in +trace, you need to do +trace +authority in dig. Should
this be defaulted?)
This commit is contained in:
Michael Sawyer
2000-07-12 00:42:54 +00:00
parent 969b3374ed
commit de73f221e6

View File

@@ -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) &&