diff --git a/gtk/blocklist.c b/gtk/blocklist.c index 0984b8bfe..c17ea3591 100644 --- a/gtk/blocklist.c +++ b/gtk/blocklist.c @@ -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 );