Changeset 8032 for trunk/gtk/blocklist.c


Ignore:
Timestamp:
Mar 5, 2009, 1:14:21 PM (13 years ago)
Author:
charles
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/blocklist.c

    r8018 r8032  
    110110        curl_easy_setopt( curl, CURLOPT_URL, url );
    111111        curl_easy_setopt( curl, CURLOPT_ENCODING, "deflate" );
    112         curl_easy_setopt( curl, CURLOPT_USERAGENT, "Transmission/"
    113                                                   LONG_VERSION_STRING );
     112        curl_easy_setopt( curl, CURLOPT_FOLLOWLOCATION, 1L );
     113        curl_easy_setopt( curl, CURLOPT_USERAGENT, "Transmission/" LONG_VERSION_STRING );
    114114        curl_easy_setopt( curl, CURLOPT_VERBOSE, verbose );
    115115        curl_easy_setopt( curl, CURLOPT_WRITEFUNCTION, writeFunc );
Note: See TracChangeset for help on using the changeset viewer.