[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Make version parsing tests pass
Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv26033/src/or
Modified Files:
routerparse.c
Log Message:
Make version parsing tests pass
Index: routerparse.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerparse.c,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -d -r1.89 -r1.90
--- routerparse.c 29 Nov 2004 23:04:26 -0000 1.89
+++ routerparse.c 30 Nov 2004 03:41:06 -0000 1.90
@@ -1487,7 +1487,7 @@
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;