]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
whoops; make 21450 compile
authorNick Mathewson <nickm@torproject.org>
Wed, 15 Feb 2017 13:19:37 +0000 (08:19 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 15 Feb 2017 13:19:37 +0000 (08:19 -0500)
src/or/routerparse.c

index c325412e396ea98da1ce5709b810442eb9e53fd0..7d9769b49940960e9a18b93eab117c9c25a1eca0 100644 (file)
@@ -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)                      \