diff options
author | Roger Dingledine <arma@torproject.org> | 2008-03-18 03:08:48 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2008-03-18 03:08:48 +0000 |
commit | 31d185a23b138c88f33ab9d359ec36254d4bae56 (patch) | |
tree | ace949089d5bffab24f3c42894ce24704e85fd62 /src/or/routerparse.c | |
parent | 2117abbe3f46a4af9d0aa58a88928760a5166e61 (diff) | |
download | tor-31d185a23b138c88f33ab9d359ec36254d4bae56.tar.gz tor-31d185a23b138c88f33ab9d359ec36254d4bae56.zip |
point out another bug for nick. and if it's *not* a bug, that's
stunning and i want to know why. :)
svn:r14088
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index 31b10baf30..835d20683d 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -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) |