Extract error code for debugging (download does not work on linux yet).
This commit is contained in:
@@ -96,6 +96,9 @@ DownloadHelper::Process()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
int numMsgs;
|
||||||
|
CURLMsg *tmpMsg = curl_multi_info_read(m_data->curlMultiHandle, &numMsgs);
|
||||||
|
CURLcode code = tmpMsg->data.result;
|
||||||
Cleanup();
|
Cleanup();
|
||||||
retVal = true;
|
retVal = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user