aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-04-13 18:44:42 +0000
committerNick Mathewson <nickm@torproject.org>2004-04-13 18:44:42 +0000
commit867832cd071163bd2f55bda68677c77c0ed23fa6 (patch)
tree327065ba878a00fd1da4fa936bd301a88440f0aa /src
parentd19abb24026820d8c12d345ff808df25e219272b (diff)
downloadtor-867832cd071163bd2f55bda68677c77c0ed23fa6.tar
tor-867832cd071163bd2f55bda68677c77c0ed23fa6.tar.gz
or, not and
svn:r1610
Diffstat (limited to 'src')
-rw-r--r--src/or/connection_edge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index cb3849381..26d3226cf 100644
--- a/src/or/connection_edge.c
+++ b/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 {