1
0
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:
Sebastien Helleu
2012-01-28 22:12:57 +01:00
parent 50c120b29c
commit 2dd44ee3d7
+1 -1
View File
@@ -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)