mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
parent
12257d065b
commit
142ae25e5d
|
@ -143,7 +143,8 @@ void CFetcher::FetchFile(CFetchTask *pTask)
|
|||
curl_easy_setopt(m_pHandle, CURLOPT_NOPROGRESS, 0);
|
||||
curl_easy_setopt(m_pHandle, CURLOPT_PROGRESSDATA, pTask);
|
||||
curl_easy_setopt(m_pHandle, CURLOPT_PROGRESSFUNCTION, &CFetcher::ProgressCallback);
|
||||
|
||||
curl_easy_setopt(m_pHandle, CURLOPT_NOSIGNAL, 1L);
|
||||
|
||||
dbg_msg("fetcher", "downloading %s", pTask->m_aDest);
|
||||
pTask->m_State = CFetchTask::STATE_RUNNING;
|
||||
int ret = curl_easy_perform(m_pHandle);
|
||||
|
|
Loading…
Reference in a new issue