mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 05:46:38 +02:00
core: fix compilation warning on curl_easy_setopt for option CURLOPT_FOLLOWLOCATION
This commit is contained in:
+1
-1
@@ -1070,7 +1070,7 @@ weeurl_download (const char *url, struct t_hashtable *options)
|
||||
|
||||
/* set default options */
|
||||
curl_easy_setopt (curl, CURLOPT_URL, url);
|
||||
curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, "1");
|
||||
curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, 1L);
|
||||
|
||||
/* set file in/out from options in hashtable */
|
||||
if (options)
|
||||
|
||||
Reference in New Issue
Block a user