simplify conditional code
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* 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
|
/*! \file
|
||||||
* \note
|
* \note
|
||||||
@@ -2888,9 +2888,6 @@ recv_done(isc_task_t *task, isc_event_t *event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!l->doing_xfr || l->xfr_q == query) {
|
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 (msg->rcode != dns_rcode_noerror && l->origin != NULL) {
|
||||||
if (!next_origin(msg, query)) {
|
if (!next_origin(msg, query)) {
|
||||||
printmessage(query, msg, ISC_TRUE);
|
printmessage(query, msg, ISC_TRUE);
|
||||||
@@ -2903,11 +2900,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
|
|||||||
printmessage(query, msg, ISC_TRUE);
|
printmessage(query, msg, ISC_TRUE);
|
||||||
} else if (l->trace) {
|
} else if (l->trace) {
|
||||||
int n = 0;
|
int n = 0;
|
||||||
#ifdef DIG_SIGCHASE
|
|
||||||
count = msg->counts[DNS_SECTION_ANSWER];
|
|
||||||
#else
|
|
||||||
int count = msg->counts[DNS_SECTION_ANSWER];
|
int count = msg->counts[DNS_SECTION_ANSWER];
|
||||||
#endif
|
|
||||||
|
|
||||||
debug("in TRACE code");
|
debug("in TRACE code");
|
||||||
if (!l->ns_search_only)
|
if (!l->ns_search_only)
|
||||||
|
|||||||
Reference in New Issue
Block a user