]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cookies: fix documentation comment
authorDaniel Gustafsson <daniel@yesql.se>
Mon, 30 May 2022 11:46:25 +0000 (13:46 +0200)
committerDaniel Gustafsson <daniel@yesql.se>
Mon, 30 May 2022 11:46:25 +0000 (13:46 +0200)
Commit 4073cd83b2 added the noexpire parameter to Curl_cookie_add but
missed updating the documentation comment at the head of the file.

lib/cookie.c

index 28961720fbcd650644dc114d4dac1550f576d686..ad75a0d9cf630b0ba6413169faef5db23cca55d7 100644 (file)
@@ -33,8 +33,9 @@ struct CookieInfo *Curl_cookie_init(struct Curl_easy *data,
         called before any cookies are set.
 
 struct Cookie *Curl_cookie_add(struct Curl_easy *data,
-                 struct CookieInfo *c, bool httpheader, char *lineptr,
-                 const char *domain, const char *path);
+                 struct CookieInfo *c, bool httpheader, bool noexpire,
+                 char *lineptr, const char *domain, const char *path,
+                 bool secure);
 
         The 'lineptr' parameter is a full "Set-cookie:" line as
         received from a server.