]> granicus.if.org Git - curl/commitdiff
cookie: fix comment typo (url_path_len -> uri_path_len)
authorFrank Gevaerts <frank@gevaerts.be>
Mon, 14 Jan 2019 15:31:20 +0000 (16:31 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 14 Jan 2019 22:02:34 +0000 (23:02 +0100)
Closes #3469

lib/cookie.c

index dfa66ee7fa8cb3b34a60c9a3886746200fe6b603..4fb992ac9df917a688e12eec31c4f58403c7e6de 100644 (file)
@@ -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;