aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-07-28 21:53:09 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-07-28 21:53:09 +0000
commite358a24a75d42714795200c9528c3f5ba90cdab2 (patch)
treed194574f74b11904ac39ca77b7786a1e970e3e7d
parent9da9d00c62b3f45ffb53a95a2a88a31c661dbd83 (diff)
reset the numcookies counter too (I missed it in the previous commit)
-rw-r--r--lib/url.c1
1 files changed, 1 insertions, 0 deletions
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;
}