(trunk gtk) allow redirects in the blocklist downloader (launchpad bug #338202)

This commit is contained in:
Charles Kerr 2009-03-05 13:14:21 +00:00
parent d4b7ec04b8
commit 1eaf40f0ca
1 changed files with 2 additions and 2 deletions

View File

@ -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 );