Browse Source

whoops; make 21450 compile

Nick Mathewson 7 years ago
parent
commit
fea93abecd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/routerparse.c

+ 1 - 1
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)                      \