diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-02-28 04:11:53 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-02-28 04:11:53 +0000 |
commit | 4e89c6661aefc78417d0ac152a824c5ae4d9eb7d (patch) | |
tree | 1eb95d0deb15c9f05db49c3eca45047c789d4c6e /src/or/dns.c | |
parent | 88e222ff76e3643b20589dde8f0002ce8c559dc0 (diff) | |
download | tor-4e89c6661aefc78417d0ac152a824c5ae4d9eb7d.tar tor-4e89c6661aefc78417d0ac152a824c5ae4d9eb7d.tar.gz |
Push responsibility for connection marking down as far as possible; have only a close path; add some missing end cells; change return conventions a little.
svn:r1149
Diffstat (limited to 'src/or/dns.c')
-rw-r--r-- | src/or/dns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c index ce3e212c6..ad9c1fba1 100644 --- a/src/or/dns.c +++ b/src/or/dns.c @@ -331,7 +331,8 @@ int connection_dns_process_inbuf(connection_t *conn) { num_dnsworkers_busy--; } num_dnsworkers--; - return -1; + connection_mark_for_close(conn,0); + return 0; } assert(conn->state == DNSWORKER_STATE_BUSY); |