Fix formatting in comment in parse_port_config()

This commit is contained in:
Neel Chauhan 2020-12-03 20:50:18 -08:00
parent b50fcdc2e7
commit 599af15159

View File

@ -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);