diff --git a/src/imlib.c b/src/imlib.c index c44e64478a01fdb74ec76cada8a2a58efb2f9e35..4bbc196de5eb156578722282860bcac7f8cb654c 100644 --- a/src/imlib.c +++ b/src/imlib.c @@ -270,6 +270,7 @@ char *feh_http_load_image(char *url) ebuff = emalloc(CURL_ERROR_SIZE); curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, ebuff); curl_easy_setopt(curl, CURLOPT_FAILONERROR, 1L); + curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); res = curl_easy_perform(curl); curl_easy_cleanup(curl);