From ebab451eedf543ab2f9545fe80f43c0fefbe7862 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 30 Nov 2004 03:41:06 +0000 Subject: [PATCH] Make version parsing tests pass svn:r3028 --- src/or/routerparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;