From: Daniel Gustafsson Date: Mon, 30 May 2022 11:46:25 +0000 (+0200) Subject: cookies: fix documentation comment X-Git-Tag: curl-7_84_0~124 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=739275a1d9497cfa0e1881831831ec32f1f4d64f;p=thirdparty%2Fcurl.git cookies: fix documentation comment Commit 4073cd83b2 added the noexpire parameter to Curl_cookie_add but missed updating the documentation comment at the head of the file. --- diff --git a/lib/cookie.c b/lib/cookie.c index 28961720fb..ad75a0d9cf 100644 --- a/lib/cookie.c +++ b/lib/cookie.c @@ -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.