aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;