simplify conditional code

This commit is contained in:
Mark Andrews
2005-06-19 22:12:31 +00:00
parent 94271b0d99
commit 2fda20909f

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dighost.c,v 1.278 2005/06/07 00:59:59 marka Exp $ */
/* $Id: dighost.c,v 1.279 2005/06/19 22:12:31 marka Exp $ */
/*! \file
* \note
@@ -2888,9 +2888,6 @@ recv_done(isc_task_t *task, isc_event_t *event) {
}
if (!l->doing_xfr || l->xfr_q == query) {
#ifdef DIG_SIGCHASE
int count = 0;
#endif
if (msg->rcode != dns_rcode_noerror && l->origin != NULL) {
if (!next_origin(msg, query)) {
printmessage(query, msg, ISC_TRUE);
@@ -2903,11 +2900,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
printmessage(query, msg, ISC_TRUE);
} else if (l->trace) {
int n = 0;
#ifdef DIG_SIGCHASE
count = msg->counts[DNS_SECTION_ANSWER];
#else
int count = msg->counts[DNS_SECTION_ANSWER];
#endif
debug("in TRACE code");
if (!l->ns_search_only)