Commit fadfd261 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

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
parent f039eca6
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment