mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user