diff options
-rw-r--r-- | src/download-provider-receiver.c | 2 |
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; |