diff options
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/tor-resolve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c index 100c8107a4..6ea2dc2352 100644 --- a/src/tools/tor-resolve.c +++ b/src/tools/tor-resolve.c @@ -388,7 +388,7 @@ main(int argc, char **argv) (int)socksport, (int)port_option); } else if (port_option) { socksport = port_option; - } else { + } else if (!socksport) { log_debug(LD_CONFIG, "defaulting to port 9050"); socksport = 9050; } |