summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-02-15 08:19:37 -0500
committerNick Mathewson <nickm@torproject.org>2017-02-15 08:19:37 -0500
commitfea93abecd14b1e95a0bdd894183a81e2c284434 (patch)
treed2f78b17675c6e4c882953449124ce8878048836
parentcb6b3b7cadb641b648577e5d5536735222cc68da (diff)
downloadtor-fea93abecd14b1e95a0bdd894183a81e2c284434.tar.gz
tor-fea93abecd14b1e95a0bdd894183a81e2c284434.zip
whoops; make 21450 compile
-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 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) \