From 739275a1d9497cfa0e1881831831ec32f1f4d64f Mon Sep 17 00:00:00 2001 From: Daniel Gustafsson Date: Mon, 30 May 2022 13:46:25 +0200 Subject: [PATCH] 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. --- lib/cookie.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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.