diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-04-22 23:01:30 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-04-27 09:09:35 +0200 |
commit | 889d1e973fb718a77c5000141d724ce03863af23 (patch) | |
tree | 5ad6b1d0238fbda0f2dd113ae2b65f35d2374db5 /lib/easy.c | |
parent | 1b758b01c170633e4514483c3605eaad9645973e (diff) | |
download | curl-889d1e973fb718a77c5000141d724ce03863af23.tar.gz |
whitespace cleanup: no space first in conditionals
"if(a)" is our style, not "if( a )"
Diffstat (limited to 'lib/easy.c')
-rw-r--r-- | lib/easy.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/easy.c b/lib/easy.c index 8b1386940..9cb275b1a 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -133,8 +133,8 @@ static CURLcode win32_init(void) /* wVersionRequested in wVersion. wHighVersion contains the */ /* highest supported version. */ - if( LOBYTE( wsaData.wVersion ) != LOBYTE(wVersionRequested) || - HIBYTE( wsaData.wVersion ) != HIBYTE(wVersionRequested) ) { + if(LOBYTE( wsaData.wVersion ) != LOBYTE(wVersionRequested) || + HIBYTE( wsaData.wVersion ) != HIBYTE(wVersionRequested) ) { /* Tell the user that we couldn't find a useable */ /* winsock.dll. */ @@ -305,7 +305,7 @@ CURLcode curl_global_init_mem(long flags, curl_malloc_callback m, return CURLE_FAILED_INIT; /* Already initialized, don't do it again */ - if( initialized ) + if(initialized) return CURLE_OK; /* Call the actual init function first */ @@ -506,7 +506,7 @@ CURLcode curl_easy_perform(CURL *curl) if(!data) return CURLE_BAD_FUNCTION_ARGUMENT; - if( ! (data->share && data->share->hostcache) ) { + if(! (data->share && data->share->hostcache)) { /* this handle is not using a shared dns cache */ if(data->set.global_dns_cache && @@ -673,8 +673,8 @@ CURL *curl_easy_duphandle(CURL *incurl) } /* Clone the resolver handle, if present, for the new handle */ - if( Curl_resolver_duphandle(&outcurl->state.resolver, - data->state.resolver) != CURLE_OK ) + if(Curl_resolver_duphandle(&outcurl->state.resolver, + data->state.resolver) != CURLE_OK) goto fail; Curl_convert_setup(outcurl); |