From fadfd2618808252def4b06345c91288f2ade1a1f Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sat, 28 Feb 2004 21:49:10 +0000 Subject: [PATCH] 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 --- src/or/dns.c | 1 - 1 file changed, 1 deletion(-) 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) {