mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[cookies] dl=0 ok
This commit is contained in:
parent
773ac97e1b
commit
81b89946e6
@ -8,6 +8,8 @@ is_path_prefix(char *cookiepath, char *requestpath)
|
||||
{
|
||||
int dl = strlen(cookiepath);
|
||||
|
||||
if (!dl) return 1;
|
||||
|
||||
if (memcmp(cookiepath, requestpath, dl)) return 0;
|
||||
|
||||
return (!memcmp(cookiepath, requestpath, dl)
|
||||
|
Loading…
x
Reference in New Issue
Block a user