aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-02-17 11:33:04 -0500
committerNick Mathewson <nickm@torproject.org>2017-02-17 11:33:04 -0500
commit9b1d99018bdc0a52e9342afa0cf812adcfa055db (patch)
treece7f8546994859387ccc8e7e998aa77a2ec9f91f /src
parentd3f0f10efd46ba7bdbd81e15de03e43ec3d6283b (diff)
parent5dbbd6bc392892df63a02cf601f94fa1fae6ebfc (diff)
downloadtor-9b1d99018bdc0a52e9342afa0cf812adcfa055db.tar.gz
tor-9b1d99018bdc0a52e9342afa0cf812adcfa055db.zip
Merge branch 'maint-0.3.0'
Diffstat (limited to 'src')
-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;