diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-09-30 20:07:37 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-09-30 20:07:37 +0000 |
commit | fc9dd98d4cfdf6b5012d15e71a318f6aab8f6121 (patch) | |
tree | 135a37fdacd7da17b94ecbce3245ec82cb09f489 /src/or/eventdns.c | |
parent | 075cb54d9ba9cc2eb3d780957672831351480549 (diff) | |
download | tor-fc9dd98d4cfdf6b5012d15e71a318f6aab8f6121.tar tor-fc9dd98d4cfdf6b5012d15e71a318f6aab8f6121.tar.gz |
r8805@totoro: nickm | 2006-09-30 16:07:13 -0400
Oops; nameserver list is circular.
svn:r8552
Diffstat (limited to 'src/or/eventdns.c')
-rw-r--r-- | src/or/eventdns.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/eventdns.c b/src/or/eventdns.c index 8ed486214..4fddf946b 100644 --- a/src/or/eventdns.c +++ b/src/or/eventdns.c @@ -2351,6 +2351,8 @@ evdns_shutdown(int fail_requests) CLOSE_SOCKET(server->socket); (void) event_del(&server->event); free(server); + if (server_next == server_head) + break; } server_head = NULL; global_good_nameservers = 0; |