diff options
Diffstat (limited to 'src/feature/client/dnsserv.c')
-rw-r--r-- | src/feature/client/dnsserv.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/feature/client/dnsserv.c b/src/feature/client/dnsserv.c index 237a6ee3d3..f0bb0af100 100644 --- a/src/feature/client/dnsserv.c +++ b/src/feature/client/dnsserv.c @@ -319,7 +319,6 @@ evdns_get_orig_address(const struct evdns_server_request *req, break; case RESOLVED_TYPE_ERROR: case RESOLVED_TYPE_ERROR_TRANSIENT: - case RESOLVED_TYPE_NOERROR: /* Addr doesn't matter, since we're not sending it back in the reply.*/ return addr; default: @@ -380,8 +379,6 @@ dnsserv_resolved(entry_connection_t *conn, tor_free(ans); } else if (answer_type == RESOLVED_TYPE_ERROR) { err = DNS_ERR_NOTEXIST; - } else if (answer_type == RESOLVED_TYPE_NOERROR) { - err = DNS_ERR_NONE; } else { /* answer_type == RESOLVED_TYPE_ERROR_TRANSIENT */ err = DNS_ERR_SERVERFAILED; } |