From e358a24a75d42714795200c9528c3f5ba90cdab2 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 28 Jul 2005 21:53:09 +0000 Subject: reset the numcookies counter too (I missed it in the previous commit) --- lib/url.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/url.c b/lib/url.c index 2cef9e471..bb8aa1819 100644 --- a/lib/url.c +++ b/lib/url.c @@ -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; } -- cgit v1.2.3