From 801846d1a98edfdf243ef8e8555466945c1e28dc Mon Sep 17 00:00:00 2001 From: lotodore Date: Sat, 19 Apr 2008 17:05:17 +0000 Subject: [PATCH] Extract error code for debugging (download does not work on linux yet). --- src/net/common/downloadhelper.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/net/common/downloadhelper.cpp b/src/net/common/downloadhelper.cpp index 864734b3..aa0427ad 100644 --- a/src/net/common/downloadhelper.cpp +++ b/src/net/common/downloadhelper.cpp @@ -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; }