patch from massimilano for following redirections

SVN revision: 33478
This commit is contained in:
Carsten Haitzler 2008-01-14 01:58:43 +00:00
parent 33d11c8035
commit 955a961c57
1 changed files with 2 additions and 1 deletions

View File

@ -244,7 +244,8 @@ _ecore_file_download_curl(const char *url, const char *dst,
curl_easy_setopt(job->curl, CURLOPT_URL, url);
curl_easy_setopt(job->curl, CURLOPT_WRITEDATA, job->file);
curl_easy_setopt(job->curl, CURLOPT_FOLLOWLOCATION, TRUE);
if (progress_cb)
{
curl_easy_setopt(job->curl, CURLOPT_NOPROGRESS, FALSE);