diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-10-03 14:29:57 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-10-03 22:56:28 +0200 |
commit | 249541f12f1b03559faa4f96861fc4e6725e3f16 (patch) | |
tree | 5d991423a9150bbcecd12b473b36ea2bbcf319b5 /lib/cookie.h | |
parent | 8a00560de2804fa8ab639c6e895ed3a7f1e75efc (diff) | |
download | curl-249541f12f1b03559faa4f96861fc4e6725e3f16.tar.gz |
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
Diffstat (limited to 'lib/cookie.h')
-rw-r--r-- | lib/cookie.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cookie.h b/lib/cookie.h index b2730cfb9..b3865e601 100644 --- a/lib/cookie.h +++ b/lib/cookie.h @@ -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); |