summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
Diffstat (limited to 'src/or')
-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 f9b5879010..7e54f6ee9a 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -1487,7 +1487,7 @@ int tor_version_parse(const char *s, tor_version_t *out)
if (*cp == '-' || *cp == '.')
++cp;
strlcpy(out->status_tag, cp, sizeof(out->status_tag));
- if (0==strcmp(cp, "cvs") && out->major == 0 && out->minor == 0) {
+ if (0==strcmp(cp, "cvs")) {
out->cvs = IS_CVS;
} else {
out->cvs = IS_NOT_CVS;