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
commitbf2ec5c14059ce9a03303ae749b8fa3fb4f6939a (patch)
treea8061130f8b0797c3ab6c7ff76ee010df0326e21
parent950dff46472e94b1e841cc00170e43a7c6708878 (diff)
downloadsrc-bf2ec5c14059ce9a03303ae749b8fa3fb4f6939a.tar.gz
src-bf2ec5c14059ce9a03303ae749b8fa3fb4f6939a.zip
Merge parser fix from vendor branch (rev 1.1.1.16)
Approved by: so
Notes
Notes: svn path=/releng/5.0/; 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 7bb296ba1779..d3aaaf8b3bce 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';