From ab203c2d8c63234cd2dec87f34f346cbc21f7a70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Wed, 19 May 2004 06:21:56 +0000 Subject: [PATCH] Merge parser fix from vendor branch (rev 1.1.1.16) --- contrib/cvs/src/server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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';