summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-02-28 21:49:10 +0000
committerRoger Dingledine <arma@torproject.org>2004-02-28 21:49:10 +0000
commitfadfd2618808252def4b06345c91288f2ade1a1f (patch)
tree3bf7763210ffd74938827fbd70d8dbbcd977c163
parentf039eca6581cc92a8c4b69ff6c413517cebb4aab (diff)
downloadtor-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.c1
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) {