[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/maint-0.2.9] whoops; make 21450 compile



commit fea93abecd14b1e95a0bdd894183a81e2c284434
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Wed Feb 15 08:19:37 2017 -0500

    whoops; make 21450 compile
---
 src/or/routerparse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index c325412..7d9769b 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -5621,7 +5621,7 @@ tor_version_parse(const char *s, tor_version_t *out)
 
 #define NUMBER(m)                               \
   do {                                          \
-    out->m = (int)tor_parse_uint64(val, 10, 0, INT32_MAX, &ok, &eos); \
+    out->m = (int)tor_parse_uint64(cp, 10, 0, INT32_MAX, &ok, &eos);    \
     if (!ok)                                    \
       return -1;                                \
     if (!eos || eos == cp)                      \

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits