Merge branch 'maint-0.2.9' into release-0.2.9
This commit is contained in:
commit
2e334d90a6
|
@ -5621,7 +5621,7 @@ tor_version_parse(const char *s, tor_version_t *out)
|
||||||
|
|
||||||
#define NUMBER(m) \
|
#define NUMBER(m) \
|
||||||
do { \
|
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) \
|
if (!ok) \
|
||||||
return -1; \
|
return -1; \
|
||||||
if (!eos || eos == cp) \
|
if (!eos || eos == cp) \
|
||||||
|
|
Loading…
Reference in New Issue