diff --git a/tasks/task_http.c b/tasks/task_http.c index a34b4853e4..c975cdd41e 100644 --- a/tasks/task_http.c +++ b/tasks/task_http.c @@ -124,6 +124,7 @@ static int task_http_iterate_transfer(retro_task_t *task) if (!net_http_update(http->handle, &pos, &tot)) { + /* TODO/FIXME - race issue */ task->progress = (tot == 0) ? -1 : (signed)(pos * 100 / tot); return -1; }