Extract error code for debugging (download does not work on linux yet).

This commit is contained in:
lotodore
2008-04-19 17:05:17 +00:00
parent fc90792e8f
commit 801846d1a9
+3
View File
@@ -96,6 +96,9 @@ DownloadHelper::Process()
}
else
{
int numMsgs;
CURLMsg *tmpMsg = curl_multi_info_read(m_data->curlMultiHandle, &numMsgs);
CURLcode code = tmpMsg->data.result;
Cleanup();
retVal = true;
}