mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Merge remote-tracking branch 'tor-gitlab/mr/232'
This commit is contained in:
commit
04b271af9f
@ -6069,7 +6069,7 @@ port_parse_config(smartlist_t *out,
|
||||
tor_free(addrtmp);
|
||||
} else {
|
||||
/* Try parsing integer port before address, because, who knows?
|
||||
"9050" might be a valid address. */
|
||||
* "9050" might be a valid address. */
|
||||
port = (int) tor_parse_long(addrport, 10, 0, 65535, &ok, NULL);
|
||||
if (ok) {
|
||||
tor_addr_copy(&addr, &default_addr);
|
||||
|
Loading…
Reference in New Issue
Block a user