mirror of
https://github.com/curl/curl.git
synced 2026-08-26 17:43:31 +03:00
cookies: change argument type for Curl_flush_cookies
The second argument is really a 'bool' so use that and pass in TRUE/FALSE to make it clear. Closes #4455
This commit is contained in:
parent
8a00560de2
commit
249541f12f
4 changed files with 4 additions and 4 deletions
|
|
@ -109,7 +109,7 @@ void Curl_cookie_clearsess(struct CookieInfo *cookies);
|
|||
#define Curl_cookie_cleanup(x) Curl_nop_stmt
|
||||
#define Curl_flush_cookies(x,y) Curl_nop_stmt
|
||||
#else
|
||||
void Curl_flush_cookies(struct Curl_easy *data, int cleanup);
|
||||
void Curl_flush_cookies(struct Curl_easy *data, bool cleanup);
|
||||
void Curl_cookie_cleanup(struct CookieInfo *);
|
||||
struct CookieInfo *Curl_cookie_init(struct Curl_easy *data,
|
||||
const char *, struct CookieInfo *, bool);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue