whitespace cleanup: no space first in conditionals

"if(a)" is our style, not "if( a )"
This commit is contained in:
Daniel Stenberg
2011-04-22 23:01:30 +02:00
parent 1b758b01c1
commit 889d1e973f
21 changed files with 106 additions and 105 deletions

View File

@@ -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 ||