From d95aaad852d2e139b16d20b44d2903633becd44c Mon Sep 17 00:00:00 2001 From: "chaehee.hong" Date: Wed, 10 Jan 2024 16:27:09 +0900 Subject: [PATCH] [CID-1745069] Fix data race condition Change-Id: Ib4024a3d165b6c576dd147329f0485396ca9eecd --- agent/download-agent-http-mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/download-agent-http-mgr.c b/agent/download-agent-http-mgr.c index 0fdd565..fad7fb8 100755 --- a/agent/download-agent-http-mgr.c +++ b/agent/download-agent-http-mgr.c @@ -519,7 +519,7 @@ da_ret_t request_http_download(da_info_t *da_info) DA_MUTEX_LOCK(&(http_info->mutex_state)); http_state = http_info->state; DA_MUTEX_UNLOCK(&(http_info->mutex_state)); - DA_LOGD("http_state[%s][%d]", __get_state_str(http_info->state), da_info->da_id); + DA_LOGD("http_state[%s][%d]", __get_state_str(http_state), da_info->da_id); switch (http_state) { case HTTP_STATE_READY_TO_DOWNLOAD: DA_MUTEX_LOCK(&(http_info->mutex_state)); -- 2.7.4