tidy-up: replace (1 == expressions

This commit is contained in:
Viktor Szakats 2025-07-09 19:43:49 +02:00
parent aaa4816bcb
commit 571c57c508
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -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;
}