diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/or/routerparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index c325412e39..7d9769b499 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) \ |