fixed a precaution check in the cookie code, pointed out by Julien Chaffraix

This commit is contained in:
Daniel Stenberg
2009-12-19 19:20:26 +00:00
parent 010fe5acd5
commit 240fa29e94
2 changed files with 2 additions and 2 deletions

View 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;