]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup: Parenthesis error in trace mode
authorAndreas Gustafsson <source@isc.org>
Wed, 12 Jul 2000 00:52:57 +0000 (00:52 +0000)
committerAndreas Gustafsson <source@isc.org>
Wed, 12 Jul 2000 00:52:57 +0000 (00:52 +0000)
bin/dig/dighost.c

index de17b3f14119e95543827f1788c09a3c97c30012..cfcc0fc143defa2bdf04f180154abdffb8e20a9d 100644 (file)
@@ -15,7 +15,7 @@
  * SOFTWARE.
  */
 
-/* $Id: dighost.c,v 1.58.2.4 2000/07/12 00:21:55 gson Exp $ */
+/* $Id: dighost.c,v 1.58.2.5 2000/07/12 00:52:57 gson 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) &&