diff options
author | Roger Dingledine <arma@torproject.org> | 2004-02-28 21:49:10 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-02-28 21:49:10 +0000 |
commit | fadfd2618808252def4b06345c91288f2ade1a1f (patch) | |
tree | 3bf7763210ffd74938827fbd70d8dbbcd977c163 | |
parent | f039eca6581cc92a8c4b69ff6c413517cebb4aab (diff) | |
download | tor-fadfd2618808252def4b06345c91288f2ade1a1f.tar.gz tor-fadfd2618808252def4b06345c91288f2ade1a1f.zip |
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.
svn:r1164
-rw-r--r-- | src/or/dns.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index ad9c1fba12..843992bcad 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -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) { |