summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-05-19 06:21:56 +0000
committerdes <des@FreeBSD.org>2004-05-19 06:21:56 +0000
commit8f2e3e022b37fb4a87ff2d95e1d06e01e322baa3 (patch)
tree67cf32e2254783778d2517a70ff1b4780480f2dc /contrib
parent2376cee53350d1d58196fe090ecad9739a6ad2d7 (diff)
downloadFreeBSD-src-8f2e3e022b37fb4a87ff2d95e1d06e01e322baa3.zip
FreeBSD-src-8f2e3e022b37fb4a87ff2d95e1d06e01e322baa3.tar.gz
Merge parser fix from vendor branch (rev 1.1.1.16)
Diffstat (limited to 'contrib')
-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 6921522..c233327 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';
OpenPOWER on IntegriCloud