aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/vtls.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-01-22 12:00:28 +0100
committerDaniel Stenberg <daniel@haxx.se>2017-01-22 12:00:28 +0100
commitfd3ca89cede65d8907498e46ee9355411fcc3699 (patch)
tree51542dc64569bfcc143880ebbc6a8fa28032bbdb /lib/vtls/vtls.c
parent40e3d6c8c21ef2f8e64c1eddb22740c9f1a6cd99 (diff)
vtls: source indentation fix
Diffstat (limited to 'lib/vtls/vtls.c')
-rw-r--r--lib/vtls/vtls.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/vtls/vtls.c b/lib/vtls/vtls.c
index a61db6733..f40a97712 100644
--- a/lib/vtls/vtls.c
+++ b/lib/vtls/vtls.c
@@ -286,10 +286,10 @@ bool Curl_ssl_getsessionid(struct connectdata *conn,
const bool isProxy = CONNECT_PROXY_SSL();
struct ssl_primary_config * const ssl_config = isProxy ?
- &conn->proxy_ssl_config :
- &conn->ssl_config;
+ &conn->proxy_ssl_config :
+ &conn->ssl_config;
const char * const name = isProxy ? conn->http_proxy.host.name :
- conn->host.name;
+ conn->host.name;
int port = isProxy ? (int)conn->port : conn->remote_port;
*ssl_sessionid = NULL;
@@ -394,8 +394,8 @@ CURLcode Curl_ssl_addsessionid(struct connectdata *conn,
long *general_age;
const bool isProxy = CONNECT_PROXY_SSL();
struct ssl_primary_config * const ssl_config = isProxy ?
- &conn->proxy_ssl_config :
- &conn->ssl_config;
+ &conn->proxy_ssl_config :
+ &conn->ssl_config;
DEBUGASSERT(data->set.general_ssl.sessionid);
@@ -447,7 +447,7 @@ CURLcode Curl_ssl_addsessionid(struct connectdata *conn,
store->sessionid = ssl_sessionid;
store->idsize = idsize;
store->age = *general_age; /* set current age */
- /* free it if there's one already present */
+ /* free it if there's one already present */
free(store->name);
free(store->conn_to_host);
store->name = clone_host; /* clone host name */
@@ -510,8 +510,8 @@ int Curl_ssl_getsock(struct connectdata *conn, curl_socket_t *socks,
}
#else
int Curl_ssl_getsock(struct connectdata *conn,
- curl_socket_t *socks,
- int numsocks)
+ curl_socket_t *socks,
+ int numsocks)
{
(void)conn;
(void)socks;