From 8070e8df94ce4c01b07044f6db0ec914ebdc87a6 Mon Sep 17 00:00:00 2001 From: David Barksdale Date: Tue, 6 May 2014 02:03:56 +0000 Subject: [PATCH] Fix simple copy-paste error. --- src/transport/plugin_transport_http_client.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c index b7fbd3e87..15150b3dc 100644 --- a/src/transport/plugin_transport_http_client.c +++ b/src/transport/plugin_transport_http_client.c @@ -1395,11 +1395,11 @@ client_connect_put (struct Session *s) curl_easy_setopt (s->client_put, CURLOPT_SSL_VERIFYHOST, 0); } } - curl_easy_setopt (s->client_get, CURLOPT_PROTOCOLS, CURLPROTO_HTTPS); - curl_easy_setopt (s->client_get, CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTPS); + curl_easy_setopt (s->client_put, CURLOPT_PROTOCOLS, CURLPROTO_HTTPS); + curl_easy_setopt (s->client_put, CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTPS); #else - curl_easy_setopt (s->client_get, CURLOPT_PROTOCOLS, CURLPROTO_HTTP); - curl_easy_setopt (s->client_get, CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTP); + curl_easy_setopt (s->client_put, CURLOPT_PROTOCOLS, CURLPROTO_HTTP); + curl_easy_setopt (s->client_put, CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTP); #endif if (s->plugin->proxy_hostname != NULL) { -- 2.25.1