From: tb Date: Tue, 12 Sep 2023 15:38:32 +0000 (+0000) Subject: Revert accidentally committed debugging code X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=22919ef58f9689681003381ae9e7852c3ca0d961;p=openbsd Revert accidentally committed debugging code confirmed by florian --- diff --git a/sbin/unwind/resolver.c b/sbin/unwind/resolver.c index 9cd19b5ee25..d017d3cf20c 100644 --- a/sbin/unwind/resolver.c +++ b/sbin/unwind/resolver.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resolver.c,v 1.161 2023/09/11 06:00:23 florian Exp $ */ +/* $OpenBSD: resolver.c,v 1.162 2023/09/12 15:38:32 tb Exp $ */ /* @@ -920,8 +920,6 @@ resolve_done(struct uw_resolver *res, void *arg, int rcode, uint8_t *p, *data; uint8_t answer_imsg[MAX_IMSGSIZE - IMSG_HEADER_SIZE]; - log_debug("%s: %d", __func__, rcode); - clock_gettime(CLOCK_MONOTONIC, &tp); query_imsg = (struct query_imsg *)arg; @@ -1076,17 +1074,14 @@ resolve_done(struct uw_resolver *res, void *arg, int rcode, goto out; servfail: - log_debug("%s: foo: 1", __func__); /* try_next_resolver() might free rq */ if (try_next_resolver(rq) != 0 && running_res == 0) { /* we are the last one, send SERVFAIL */ answer_header->srvfail = 1; - log_debug("%s: foo: 2", __func__); resolver_imsg_compose_frontend(IMSG_ANSWER, 0, answer_imsg, sizeof(*answer_header)); } out: - log_debug("%s: foo: 3", __func__); free(query_imsg); sldns_buffer_free(buf); regional_destroy(region);