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

This commit is contained in:
Daniel Stenberg 2005-07-28 21:53:09 +00:00
parent 9da9d00c62
commit e358a24a75
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}