diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-04-03 20:28:34 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-04-03 22:38:36 +0200 |
commit | a71012c03ef6a7cbfba69bcafb559fa417c49af0 (patch) | |
tree | db917bd1712346053d67108c494e4424ba290e07 /lib/share.c | |
parent | 9d194a1143f280dfd5174108b27edd51d909383d (diff) | |
download | curl-a71012c03ef6a7cbfba69bcafb559fa417c49af0.tar.gz |
code: style updates
Diffstat (limited to 'lib/share.c')
-rw-r--r-- | lib/share.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/share.c b/lib/share.c index 01503e06e..58c591231 100644 --- a/lib/share.c +++ b/lib/share.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -71,14 +71,14 @@ curl_share_setopt(CURLSH *sh, CURLSHoption option, ...) /* this is a type this share will share */ type = va_arg(param, int); share->specifier |= (1<<type); - switch( type ) { + switch(type) { case CURL_LOCK_DATA_DNS: break; case CURL_LOCK_DATA_COOKIE: #if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES) if(!share->cookies) { - share->cookies = Curl_cookie_init(NULL, NULL, NULL, TRUE ); + share->cookies = Curl_cookie_init(NULL, NULL, NULL, TRUE); if(!share->cookies) res = CURLSHE_NOMEM; } @@ -114,7 +114,7 @@ curl_share_setopt(CURLSH *sh, CURLSHoption option, ...) /* this is a type this share will no longer share */ type = va_arg(param, int); share->specifier &= ~(1<<type); - switch( type ) { + switch(type) { case CURL_LOCK_DATA_DNS: break; |