mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Fix formatting in comment in parse_port_config()
This commit is contained in:
parent
b50fcdc2e7
commit
599af15159
@ -6066,7 +6066,7 @@ port_parse_config(smartlist_t *out,
|
|||||||
tor_free(addrtmp);
|
tor_free(addrtmp);
|
||||||
} else {
|
} else {
|
||||||
/* Try parsing integer port before address, because, who knows?
|
/* 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);
|
port = (int) tor_parse_long(addrport, 10, 0, 65535, &ok, NULL);
|
||||||
if (ok) {
|
if (ok) {
|
||||||
tor_addr_copy(&addr, &default_addr);
|
tor_addr_copy(&addr, &default_addr);
|
||||||
|
Loading…
Reference in New Issue
Block a user