]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
fixed a precaution check in the cookie code, pointed out by Julien Chaffraix
authorDaniel Stenberg <daniel@haxx.se>
Sat, 19 Dec 2009 19:20:26 +0000 (19:20 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 19 Dec 2009 19:20:26 +0000 (19:20 +0000)
RELEASE-NOTES
lib/cookie.c

index 467f22a0975fb8b0401aed4f31f7beed591081e7..25ca3a116eab2915a7011caa3ef85c5e994592bf 100644 (file)
@@ -48,6 +48,6 @@ advice from friends like these:
  Marco Maggi, Camille Moncelier, Claes Jakobsson, Kevin Baughman,
  Marc Kleine-Budde, Jad Chamcham, Bjorn Augustsson, David Byron,
  Markus Koetter, Chad Monroe, Martin Storsjo, Siegfried Gyuricsko,
- Jon Nelson,
+ Jon Nelson, Julien Chaffraix
 
         Thanks! (and sorry if I forgot to mention someone)
index b76394cfa1d91661f35f2097c953f43f4a35a961..7be8fc3c597d30e6811c96dd2d26143df42f5400 100644 (file)
@@ -909,7 +909,7 @@ void Curl_cookie_clearsess(struct CookieInfo *cookies)
 {
   struct Cookie *first, *curr, *next, *prev = NULL;
 
-  if(!cookies->cookies || !cookies->cookies)
+  if(!cookies || !cookies->cookies)
     return;
 
   first = curr = prev = cookies->cookies;