aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/cookie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cookie.c b/lib/cookie.c
index b76394cfa..7be8fc3c5 100644
--- a/lib/cookie.c
+++ b/lib/cookie.c
@@ -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;