From 628d2eec0891ebe6692dfeb9f12cbe2d42c5808a Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 13 Apr 2004 18:44:42 +0000 Subject: [PATCH] or, not and svn:r1610 --- trunk/src/or/connection_edge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/or/connection_edge.c b/trunk/src/or/connection_edge.c index cb38493818..26d3226cf8 100644 --- a/trunk/src/or/connection_edge.c +++ b/trunk/src/or/connection_edge.c @@ -1300,7 +1300,7 @@ static uint32_t client_dns_lookup_entry(const char *address) return ntohl(in.s_addr); } ent = strmap_get_lc(client_dns_map,address); - if (!ent && !ent->addr) { + if (!ent || !ent->addr) { log_fn(LOG_DEBUG, "No entry found for address %s", address); return 0; } else {