Add note about race issue

This commit is contained in:
twinaphex 2016-12-27 23:56:32 +01:00
parent ea39d3914e
commit 141046b45b

View File

@ -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;
}