summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-02-17 11:32:45 -0500
committerNick Mathewson <nickm@torproject.org>2017-02-17 11:32:45 -0500
commit5dbbd6bc392892df63a02cf601f94fa1fae6ebfc (patch)
treec456f05e19a19bd4981138274b80fecaf805fd4e /src/or/routerparse.c
parent3336f26e60b0f24c8e028ed8fb9aea04d19c5c8a (diff)
parent67cec7578cab40ce43b54d4dfc1370894b91d28f (diff)
downloadtor-5dbbd6bc392892df63a02cf601f94fa1fae6ebfc.tar.gz
tor-5dbbd6bc392892df63a02cf601f94fa1fae6ebfc.zip
Merge branch 'maint-0.2.9' into maint-0.3.0
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 e74ad2e8cf..98167d44f8 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -4824,7 +4824,7 @@ tor_version_parse_platform(const char *platform,
if (strict) {
if (router_version->major < 0 ||
router_version->minor < 0 ||
- router_version->minor < 0 ||
+ router_version->micro < 0 ||
router_version->patchlevel < 0 ||
router_version->svn_revision < 0) {
return -1;