mirror of
https://github.com/curl/curl.git
synced 2026-06-05 02:14:16 +03:00
reset the numcookies counter too (I missed it in the previous commit)
This commit is contained in:
parent
9da9d00c62
commit
e358a24a75
1 changed files with 1 additions and 0 deletions
|
|
@ -788,6 +788,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
|
|||
/* clear all cookies */
|
||||
Curl_cookie_freelist(data->cookies->cookies);
|
||||
data->cookies->cookies = NULL;
|
||||
data->cookies->numcookies = 0;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue