Merge parser fix from vendor branch (rev 1.1.1.16)
This commit is contained in:
parent
e6bd8ae1e9
commit
ab203c2d8c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129420
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user