[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] remove assert from dns.c that"s no longer true:



Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or

Modified Files:
	dns.c 
Log Message:
remove assert from dns.c that's no longer true:
typically the resolve will be pending, but it could be failed if it
just failed and we're working through the 'pending' list, or it could
be valid if some other dnsworker raced us to fill in the entry.


Index: dns.c
===================================================================
RCS file: /home/or/cvsroot/src/or/dns.c,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -d -r1.54 -r1.55
--- dns.c	28 Feb 2004 04:11:53 -0000	1.54
+++ dns.c	28 Feb 2004 21:49:10 -0000	1.55
@@ -203,7 +203,6 @@
     return;
   }
 
-  assert(resolve->state == CACHE_STATE_PENDING);
   assert(resolve->pending_connections);
 
   if(onlyconn) {