mirror of
https://github.com/transmission/transmission
synced 2025-03-15 16:29:34 +00:00
(trunk gtk) allow redirects in the blocklist downloader (launchpad bug #338202)
This commit is contained in:
parent
d4b7ec04b8
commit
1eaf40f0ca
1 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Reference in a new issue