cURL / Mailing Lists / curl-library / Single Mail

curl-library

[Patch] Wrong check in Curl_cookie_clearsess

From: Julien Chaffraix <julien.chaffraix_at_gmail.com>
Date: Thu, 17 Dec 2009 19:17:27 +0100

Hi,

while looking at the code, I have found a strange check in
Curl_cookie_clearsess:

if(!cookies->cookies || !cookies->cookies)

I think it should be

if(!cookies || !cookies->cookies)

to match Curl_cookie_clearall and other methods in cookie.c. Patch
against latest cvs version attached.

Best regards,
Julien

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2009-12-17