[or-cvs] r14088: point out another bug for nick. and if it's *not* a bug, tha (tor/trunk/src/or)

arma at seul.org arma at seul.org
Tue Mar 18 03:08:49 UTC 2008


Author: arma
Date: 2008-03-17 23:08:48 -0400 (Mon, 17 Mar 2008)
New Revision: 14088

Modified:
   tor/trunk/src/or/routerparse.c
Log:
point out another bug for nick. and if it's *not* a bug, that's
stunning and i want to know why. :)


Modified: tor/trunk/src/or/routerparse.c
===================================================================
--- tor/trunk/src/or/routerparse.c	2008-03-18 03:04:02 UTC (rev 14087)
+++ tor/trunk/src/or/routerparse.c	2008-03-18 03:08:48 UTC (rev 14088)
@@ -2171,6 +2171,7 @@
         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)



More information about the tor-commits mailing list