[or-cvs] or, not and

Nick Mathewson nickm at seul.org
Tue Apr 13 18:44:44 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv23893/src/or

Modified Files:
	connection_edge.c 
Log Message:
or, not and

Index: connection_edge.c
===================================================================
RCS file: /home/or/cvsroot/src/or/connection_edge.c,v
retrieving revision 1.158
retrieving revision 1.159
diff -u -d -r1.158 -r1.159
--- connection_edge.c	13 Apr 2004 17:49:41 -0000	1.158
+++ connection_edge.c	13 Apr 2004 18:44:42 -0000	1.159
@@ -1300,7 +1300,7 @@
     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 {



More information about the tor-commits mailing list