diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-11-23 07:53:24 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-11-24 23:58:22 +0100 |
commit | dbadaebfc4e9d453232795f54d4fe5618cf8e84d (patch) | |
tree | 5899d1f99ce0d767d28d753e6e6552896d47d01f /lib/vtls/vtls.c | |
parent | bc7e08471c1884a5100b6e0513a006c263ec3c6b (diff) | |
download | curl-dbadaebfc4e9d453232795f54d4fe5618cf8e84d.tar.gz |
checksrc: code style: use 'char *name' style
Diffstat (limited to 'lib/vtls/vtls.c')
-rw-r--r-- | lib/vtls/vtls.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c index 07d64ab9d..02418934d 100644 --- a/lib/vtls/vtls.c +++ b/lib/vtls/vtls.c @@ -81,13 +81,14 @@ (data->share->specifier & \ (1<<CURL_LOCK_DATA_SSL_SESSION))) -#define CLONE_STRING(var) if(source->var) { \ - dest->var = strdup(source->var); \ - if(!dest->var) \ - return FALSE; \ - } \ - else \ - dest->var = NULL; +#define CLONE_STRING(var) \ + if(source->var) { \ + dest->var = strdup(source->var); \ + if(!dest->var) \ + return FALSE; \ + } \ + else \ + dest->var = NULL; bool Curl_ssl_config_matches(struct ssl_primary_config* data, @@ -653,9 +654,9 @@ CURLcode Curl_ssl_push_certinfo_len(struct Curl_easy *data, const char *value, size_t valuelen) { - struct curl_certinfo * ci = &data->info.certs; - char * output; - struct curl_slist * nl; + struct curl_certinfo *ci = &data->info.certs; + char *output; + struct curl_slist *nl; CURLcode result = CURLE_OK; size_t labellen = strlen(label); size_t outlen = labellen + 1 + valuelen + 1; /* label:value\0 */ |