summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-02-15 08:19:51 -0500
committerNick Mathewson <nickm@torproject.org>2017-02-15 08:19:51 -0500
commitd633c4757c1392fbbdeb3bdcc39e9b8e834f8fc9 (patch)
treeb011f7a89cecdcf233b9ef729890a39d06ddb0ba /src/or/routerparse.c
parent39af9fc2b7ed60ed4007cf47a643e30b4c615aae (diff)
parentfea93abecd14b1e95a0bdd894183a81e2c284434 (diff)
downloadtor-d633c4757c1392fbbdeb3bdcc39e9b8e834f8fc9.tar.gz
tor-d633c4757c1392fbbdeb3bdcc39e9b8e834f8fc9.zip
Merge branch 'maint-0.2.9'
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 574a6464dd..e74ad2e8cf 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -4894,7 +4894,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) \