Skip to content
Snippets Groups Projects
Commit e358a24a authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

reset the numcookies counter too (I missed it in the previous commit)

parent 9da9d00c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment