summaryrefslogtreecommitdiff
path: root/lib/cookie.c
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2019-01-14 16:31:20 +0100
committerDaniel Stenberg <daniel@haxx.se>2019-01-14 23:02:34 +0100
commitc54ee668dfec73885ca801dcc835d0bb569c46e9 (patch)
tree88ab9ff947adf6eba8e4ae2a753f03ee38d7d250 /lib/cookie.c
parent07367e717a1e8205240ad795b3b51c78b9f9d98d (diff)
downloadcurl-c54ee668dfec73885ca801dcc835d0bb569c46e9.tar.gz
cookie: fix comment typo (url_path_len -> uri_path_len)
Closes #3469
Diffstat (limited to 'lib/cookie.c')
-rw-r--r--lib/cookie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cookie.c b/lib/cookie.c
index dfa66ee7f..4fb992ac9 100644
--- a/lib/cookie.c
+++ b/lib/cookie.c
@@ -223,7 +223,7 @@ static bool pathmatch(const char *cookie_path, const char *request_uri)
goto pathmatched;
}
- /* here, cookie_path_len < url_path_len */
+ /* here, cookie_path_len < uri_path_len */
if(uri_path[cookie_path_len] == '/') {
ret = TRUE;
goto pathmatched;