or, not and

svn:r1610
This commit is contained in:
Nick Mathewson
2004-04-13 18:44:42 +00:00
parent f62b3aafa3
commit 628d2eec08
+1 -1
View File
@@ -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 {