diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-10-16 21:53:30 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-10-16 21:53:30 +0000 |
commit | 47dc024f7eb268dca65949d68914aa29b2840711 (patch) | |
tree | f22f9795384bff92c731d95872804bc416abca82 /src/or/config.c | |
parent | 8300c4ae6a0d55c40d94613b5e22cb25b5723bd1 (diff) | |
download | tor-47dc024f7eb268dca65949d68914aa29b2840711.tar tor-47dc024f7eb268dca65949d68914aa29b2840711.tar.gz |
Change interface of parse_addr_port() to return address in host order, since most users seem to want that.
svn:r2542
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index 41ccd56bd..dea2b6252 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -847,7 +847,6 @@ getconfig(int argc, char **argv, or_options_t *options) log(LOG_WARN,"HttpProxy failed to parse or resolve. Please fix."); result = -1; } - options->HttpProxyAddr = ntohl(options->HttpProxyAddr); /* switch to host-order */ if (options->HttpProxyPort == 0) { /* give it a default */ options->HttpProxyPort = 80; } |