]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
remove assert from dns.c that's no longer true:
authorRoger Dingledine <arma@torproject.org>
Sat, 28 Feb 2004 21:49:10 +0000 (21:49 +0000)
committerRoger Dingledine <arma@torproject.org>
Sat, 28 Feb 2004 21:49:10 +0000 (21:49 +0000)
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.

svn:r1164

src/or/dns.c

index ad9c1fba125e3cfc094525a284117d6c4f078033..843992bcad30ed0d40a7964a9064dd25fbace3ae 100644 (file)
@@ -203,7 +203,6 @@ void dns_cancel_pending_resolve(char *address, connection_t *onlyconn) {
     return;
   }
 
-  assert(resolve->state == CACHE_STATE_PENDING);
   assert(resolve->pending_connections);
 
   if(onlyconn) {