mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Merge branch 'maint-0.2.9'
This commit is contained in:
commit
d633c4757c
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user