mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
(trunk gtk) allow redirects in the blocklist downloader (launchpad bug #338202)
This commit is contained in:
+2
-2
@@ -109,8 +109,8 @@ blocklistThreadFunc( gpointer gcore )
|
||||
CURL * curl = curl_easy_init( );
|
||||
curl_easy_setopt( curl, CURLOPT_URL, url );
|
||||
curl_easy_setopt( curl, CURLOPT_ENCODING, "deflate" );
|
||||
curl_easy_setopt( curl, CURLOPT_USERAGENT, "Transmission/"
|
||||
LONG_VERSION_STRING );
|
||||
curl_easy_setopt( curl, CURLOPT_FOLLOWLOCATION, 1L );
|
||||
curl_easy_setopt( curl, CURLOPT_USERAGENT, "Transmission/" LONG_VERSION_STRING );
|
||||
curl_easy_setopt( curl, CURLOPT_VERBOSE, verbose );
|
||||
curl_easy_setopt( curl, CURLOPT_WRITEFUNCTION, writeFunc );
|
||||
curl_easy_setopt( curl, CURLOPT_WRITEDATA, &fd );
|
||||
|
||||
Reference in New Issue
Block a user