mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-20 10:12:15 +01:00
point out another bug for nick. and if it's *not* a bug, that's
stunning and i want to know why. :) svn:r14088
This commit is contained in:
parent
2117abbe3f
commit
31d185a23b
@ -2171,6 +2171,7 @@ networkstatus_parse_vote_from_string(const char *s, const char **eos_out,
|
||||
goto err;
|
||||
}
|
||||
voter->addr = ntohl(in.s_addr);
|
||||
/* XXX021 long to int to uint64 to uint16? what the hell? -rd */
|
||||
voter->dir_port = (uint64_t)
|
||||
(int) tor_parse_long(tok->args[4], 10, 0, 65535, &ok, NULL);
|
||||
if (!ok)
|
||||
|
Loading…
Reference in New Issue
Block a user