Navigation Menu

Skip to content

Commit

Permalink
Merge parser fix from vendor branch (rev 1.1.1.16)
Browse files Browse the repository at this point in the history
Approved by:	so
  • Loading branch information
dag-erling committed May 19, 2004
1 parent 96f129e commit ce44f18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/cvs/src/server.c
Expand Up @@ -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';
Expand Down Expand Up @@ -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';
Expand Down

0 comments on commit ce44f18

Please sign in to comment.