summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-09-08 21:36:27 +0000
committerRoger Dingledine <arma@torproject.org>2005-09-08 21:36:27 +0000
commit587b513ec0a3edb20b326254c4b4defa8861d4bb (patch)
tree7394ca0146b59abac8e52d7f4288cf0f0ab26f9c
parent9df4716ac354ade52f02cca8ae479fbc93eeb985 (diff)
downloadtor-587b513ec0a3edb20b326254c4b4defa8861d4bb.tar.gz
tor-587b513ec0a3edb20b326254c4b4defa8861d4bb.zip
remove obsolete kludge
svn:r4953
-rw-r--r--src/or/config.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/or/config.c b/src/or/config.c
index ddcb22a864..45e7046026 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1195,13 +1195,6 @@ resolve_my_address(or_options_t *options, uint32_t *addr_out, char **hostname_ou
tor_assert(addr_out);
- /* workaround: some people were leaving "Address " in their torrc,
- * and they had a buggy resolver that resolved " " to 0.0.0.0. Oops.
- */
- if (address)
- while (TOR_ISSPACE(*address))
- address++;
-
if (address && *address) {
strlcpy(hostname, address, sizeof(hostname));
} else { /* then we need to guess our address */