mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-14 15:52:47 -05:00
dll: fuse: fuse_opt_parse: bugfix in handling templates of the form NAME=VALUE
This commit is contained in:
@ -102,7 +102,14 @@ static void fsp_fuse_opt_match_templ(
|
||||
else if ('=' == *p)
|
||||
{
|
||||
if (*q == *p)
|
||||
*pspec = p + 1, *parg = q + 1;
|
||||
{
|
||||
p++, q++;
|
||||
if ('%' == *p || '\0' == *p)
|
||||
*pspec = p, *parg = q;
|
||||
else
|
||||
*parg = 0 == lstrcmpA(q, p) ?
|
||||
fsp_fuse_opt_match_exact : fsp_fuse_opt_match_none;
|
||||
}
|
||||
else
|
||||
*parg = fsp_fuse_opt_match_none;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user