aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2004-05-19 06:19:57 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2004-05-19 06:19:57 +0000
commit57b6df6ca0bd26a9f6d8f3f87437013f0ab7a6a4 (patch)
treee737142f1d36c2c53ec31085aa755e7b10ab73a3
parent85a13d0cdab4d814890951b8d15b5ad9a709b19a (diff)
downloadsrc-57b6df6ca0bd26a9f6d8f3f87437013f0ab7a6a4.tar.gz
src-57b6df6ca0bd26a9f6d8f3f87437013f0ab7a6a4.zip
Merge parser fix from vendor branch (rev 1.1.1.16)
Approved by: so
Notes
Notes: svn path=/releng/4.9/; revision=129419
-rw-r--r--contrib/cvs/src/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/cvs/src/server.c b/contrib/cvs/src/server.c
index 62bff8fd5b4a..a0ade2dc1417 100644
--- a/contrib/cvs/src/server.c
+++ b/contrib/cvs/src/server.c
@@ -1648,7 +1648,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';
@@ -1692,7 +1692,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';