From 141046b45b85f5f7cfb33048adde919b6a8337ef Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 27 Dec 2016 23:56:32 +0100 Subject: [PATCH] Add note about race issue --- tasks/task_http.c | 1 + 1 file changed, 1 insertion(+) 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; }