diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2009-12-14 09:53:31 +0100 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2009-12-14 09:53:31 +0100 |
commit | 182c5834976c063e7d96ecf07a79846d1cfc4a9c (patch) | |
tree | 9f3ac2f56e68695382433bf42b6eaf06148ce8c3 /src/or/directory.c | |
parent | f7d99b62a3357f71e653bd5c39fa083336d82a8e (diff) | |
download | tor-182c5834976c063e7d96ecf07a79846d1cfc4a9c.tar.gz tor-182c5834976c063e7d96ecf07a79846d1cfc4a9c.zip |
Remove some dead code found by coverity, cid 404
In connection_dir_client_reached_eof, we make sure that we either
return when we get an http status code of 503 or handle the problem
and set it to 200. Later we check if the status code is 503. Remove
that check.
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 45483cce28..06a2cffd81 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1997,12 +1997,6 @@ connection_dir_client_reached_eof(dir_connection_t *conn) "'%s:%d'. Malformed rendezvous descriptor?", escaped(reason), conn->_base.address, conn->_base.port); break; - case 503: - log_info(LD_REND,"http status 503 (%s) response from dirserver " - "'%s:%d'. Node is (currently) not acting as v2 hidden " - "service directory.", - escaped(reason), conn->_base.address, conn->_base.port); - break; default: log_warn(LD_REND,"http status %d (%s) response unexpected (server " "'%s:%d').", |