diff options
Diffstat (limited to 'lib/cookie.c')
-rw-r--r-- | lib/cookie.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/cookie.c b/lib/cookie.c index cad34acfd..7928be7dc 100644 --- a/lib/cookie.c +++ b/lib/cookie.c @@ -373,8 +373,8 @@ Curl_cookie_add(struct SessionHandle *data, non-session cookie */ if(co->expires == 0) co->expires = 1; - else if( co->expires < 0 ) - co->expires = 0; + else if(co->expires < 0) + co->expires = 0; } else if(!co->name) { co->name = strdup(name); @@ -819,8 +819,8 @@ struct Cookie *Curl_cookie_getlist(struct CookieInfo *c, /* only process this cookie if it is not expired or had no expire date AND that if the cookie requires we're secure we must only continue if we are! */ - if( (!co->expires || (co->expires > now)) && - (co->secure?secure:TRUE) ) { + if((!co->expires || (co->expires > now)) && + (co->secure?secure:TRUE)) { /* now check if the domain is correct */ if(!co->domain || |