diff options
Diffstat (limited to 'src/service/hostlist/gnunet-daemon-hostlist_client.c')
-rw-r--r-- | src/service/hostlist/gnunet-daemon-hostlist_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service/hostlist/gnunet-daemon-hostlist_client.c b/src/service/hostlist/gnunet-daemon-hostlist_client.c index 2a03caaac..826f6b444 100644 --- a/src/service/hostlist/gnunet-daemon-hostlist_client.c +++ b/src/service/hostlist/gnunet-daemon-hostlist_client.c | |||
@@ -1041,9 +1041,9 @@ download_hostlist () | |||
1041 | } | 1041 | } |
1042 | CURL_EASY_SETOPT (curl, CURLOPT_FOLLOWLOCATION, 1); | 1042 | CURL_EASY_SETOPT (curl, CURLOPT_FOLLOWLOCATION, 1); |
1043 | CURL_EASY_SETOPT (curl, | 1043 | CURL_EASY_SETOPT (curl, |
1044 | CURLOPT_REDIR_PROTOCOLS, | 1044 | CURLOPT_REDIR_PROTOCOLS_STR, |
1045 | CURLPROTO_HTTP | CURLPROTO_HTTPS); | 1045 | CURLPROTO_HTTP | CURLPROTO_HTTPS); |
1046 | CURL_EASY_SETOPT (curl, CURLOPT_PROTOCOLS, CURLPROTO_HTTP | CURLPROTO_HTTPS); | 1046 | CURL_EASY_SETOPT (curl, CURLOPT_PROTOCOLS_STR, CURLPROTO_HTTP | CURLPROTO_HTTPS); |
1047 | CURL_EASY_SETOPT (curl, CURLOPT_MAXREDIRS, 4); | 1047 | CURL_EASY_SETOPT (curl, CURLOPT_MAXREDIRS, 4); |
1048 | /* no need to abort if the above failed */ | 1048 | /* no need to abort if the above failed */ |
1049 | CURL_EASY_SETOPT (curl, CURLOPT_URL, current_url); | 1049 | CURL_EASY_SETOPT (curl, CURLOPT_URL, current_url); |