diff --git a/contrib/cvs/src/server.c b/contrib/cvs/src/server.c index 6921522b150f..c233327e730b 100644 --- a/contrib/cvs/src/server.c +++ b/contrib/cvs/src/server.c @@ -1645,7 +1645,7 @@ serve_unchanged (arg) && strncmp (arg, name, cp - name) == 0) { timefield = strchr (cp + 1, '/') + 1; - if (*timefield != '=') + if (*timefield == '/') { cp = timefield + strlen (timefield); cp[1] = '\0'; @@ -1689,7 +1689,7 @@ serve_is_modified (arg) && strncmp (arg, name, cp - name) == 0) { timefield = strchr (cp + 1, '/') + 1; - if (!(timefield[0] == 'M' && timefield[1] == '/')) + if (*timefield == '/') { cp = timefield + strlen (timefield); cp[1] = '\0';