aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Barksdale <amatus.amongus@gmail.com>2014-05-06 02:03:56 +0000
committerDavid Barksdale <amatus.amongus@gmail.com>2014-05-06 02:03:56 +0000
commit8070e8df94ce4c01b07044f6db0ec914ebdc87a6 (patch)
tree0d6a4fe2492626524f7a8435f42d446066bffea7
parent2905ca535539de209dbde292e876e2995bb0c160 (diff)
downloadgnunet-8070e8df94ce4c01b07044f6db0ec914ebdc87a6.tar.gz
gnunet-8070e8df94ce4c01b07044f6db0ec914ebdc87a6.zip
Fix simple copy-paste error.
-rw-r--r--src/transport/plugin_transport_http_client.c8
1 files 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)
1395 curl_easy_setopt (s->client_put, CURLOPT_SSL_VERIFYHOST, 0); 1395 curl_easy_setopt (s->client_put, CURLOPT_SSL_VERIFYHOST, 0);
1396 } 1396 }
1397 } 1397 }
1398 curl_easy_setopt (s->client_get, CURLOPT_PROTOCOLS, CURLPROTO_HTTPS); 1398 curl_easy_setopt (s->client_put, CURLOPT_PROTOCOLS, CURLPROTO_HTTPS);
1399 curl_easy_setopt (s->client_get, CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTPS); 1399 curl_easy_setopt (s->client_put, CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTPS);
1400#else 1400#else
1401 curl_easy_setopt (s->client_get, CURLOPT_PROTOCOLS, CURLPROTO_HTTP); 1401 curl_easy_setopt (s->client_put, CURLOPT_PROTOCOLS, CURLPROTO_HTTP);
1402 curl_easy_setopt (s->client_get, CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTP); 1402 curl_easy_setopt (s->client_put, CURLOPT_REDIR_PROTOCOLS, CURLPROTO_HTTP);
1403#endif 1403#endif
1404 if (s->plugin->proxy_hostname != NULL) 1404 if (s->plugin->proxy_hostname != NULL)
1405 { 1405 {