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.
This commit is contained in:
Daniel Gustafsson 2022-05-30 13:46:25 +02:00
parent 2d7044a191
commit 739275a1d9

View 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.