mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:13:33 +03:00
tidy-up: replace (0 == expressions
This commit is contained in:
parent
2530adcf4d
commit
bc72ca01e9
17 changed files with 23 additions and 23 deletions
|
|
@ -173,7 +173,7 @@ static bool pathmatch(const char *cookie_path, const char *uri_path)
|
|||
}
|
||||
|
||||
/* #-fragments are already cut off! */
|
||||
if(0 == strlen(uri_path) || uri_path[0] != '/')
|
||||
if(strlen(uri_path) == 0 || uri_path[0] != '/')
|
||||
uri_path = "/";
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue