mirror of https://github.com/moparisthebest/curl
reset the numcookies counter too (I missed it in the previous commit)
This commit is contained in:
parent
9da9d00c62
commit
e358a24a75
|
@ -788,6 +788,7 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
|
||||||
/* clear all cookies */
|
/* clear all cookies */
|
||||||
Curl_cookie_freelist(data->cookies->cookies);
|
Curl_cookie_freelist(data->cookies->cookies);
|
||||||
data->cookies->cookies = NULL;
|
data->cookies->cookies = NULL;
|
||||||
|
data->cookies->numcookies = 0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue