mirror of
https://github.com/curl/curl.git
synced 2026-06-06 21:04:18 +03:00
tidy-up: replace (1 == expressions
This commit is contained in:
parent
aaa4816bcb
commit
571c57c508
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ static bool pathmatch(const char *cookie_path, const char *uri_path)
|
|||
|
||||
/* cookie_path must not have last '/' separator. ex: /sample */
|
||||
cookie_path_len = strlen(cookie_path);
|
||||
if(1 == cookie_path_len) {
|
||||
if(cookie_path_len == 1) {
|
||||
/* cookie_path must be '/' */
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue