forked from enlightenment/efl
Ecore File Download: don't mess with Ecore_Con event status
For some reason it was passing !ev->status instead of ev->status to completion_cb, so all the information that should be provided (200, 400 or 404 error, ...) was becoming 0. SVN revision: 61099
This commit is contained in:
parent
153c7394df
commit
8c90fc2072
|
@ -286,7 +286,7 @@ _ecore_file_download_url_complete_cb(void *data __UNUSED__, int type __UNUSED__,
|
|||
if (!ECORE_MAGIC_CHECK(job, ECORE_MAGIC_FILE_DOWNLOAD_JOB)) return ECORE_CALLBACK_PASS_ON;
|
||||
|
||||
if (job->completion_cb)
|
||||
job->completion_cb(ecore_con_url_data_get(job->url_con), job->dst, !ev->status);
|
||||
job->completion_cb(ecore_con_url_data_get(job->url_con), job->dst, ev->status);
|
||||
|
||||
_job_list = eina_list_remove(_job_list, job);
|
||||
fclose(job->file);
|
||||
|
|
Loading…
Reference in New Issue