In tor-resolve, when the Tor client to use is specified by <hostname>:<port>, actually use the specified port rather than defaulting to 9050

svn:r18833
This commit is contained in:
Steven Murdoch
2009-03-10 00:52:45 +00:00
parent 4774e593b8
commit 43145fc9f5
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -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;
}