summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBang Kwang min <justine.bang@samsung.com>2012-08-28 15:21:28 +0900
committerBang Kwang min <justine.bang@samsung.com>2012-08-30 15:09:42 +0900
commitcfbc61f9f41a1ad91e56295a1617460eb2c41eed (patch)
tree9e45a95083fad9fc3f734b04864bb0246131b425
parent9a17800e81af7213cbe3f8043264e91db77b7a51 (diff)
downloaddownload-provider-cfbc61f9f41a1ad91e56295a1617460eb2c41eed.tar.gz
download-provider-cfbc61f9f41a1ad91e56295a1617460eb2c41eed.tar.bz2
download-provider-cfbc61f9f41a1ad91e56295a1617460eb2c41eed.zip
initialize mutex for auto-redownloading
[Title] initialize mutex for auto-redownloading [Issue#] N/A [Problem] N/A [Cause] N/A [Solution] N/A [SCMRequest] N/A Change-Id: Ib6ecc3cc0e571769b620c6d0b51dbe3bc36e6d89
-rw-r--r--src/download-provider-receiver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/download-provider-receiver.c b/src/download-provider-receiver.c
index 2af1fb0..3f8005d 100644
--- a/src/download-provider-receiver.c
+++ b/src/download-provider-receiver.c
@@ -844,6 +844,8 @@ void *run_manage_download_server(void *args)
continue;
}
+ CLIENT_MUTEX_INIT(&(request_clientinfo->client_mutex), NULL);
+ request_clientinfo->state = DOWNLOAD_STATE_READY;
clientinfo_list[searchslot].clientinfo =
request_clientinfo;