BUG: More VS8 fixes
This commit is contained in:
parent
c7f0940b4e
commit
98dc57c0ae
|
@ -169,10 +169,16 @@ bool cmCTestSubmitHandler::SubmitUsingFTP(const cmStdString& localprefix,
|
|||
// Now run off and do what you've been told!
|
||||
res = ::curl_easy_perform(curl);
|
||||
|
||||
if ( chunk.size() > 0 )
|
||||
{
|
||||
cmCTestLog(m_CTest, DEBUG, "CURL output: ["
|
||||
<< cmCTestLogWrite(&*chunk.begin(), chunk.size()) << "]" << std::endl);
|
||||
}
|
||||
if ( chunkDebug.size() > 0 )
|
||||
{
|
||||
cmCTestLog(m_CTest, DEBUG, "CURL debug output: ["
|
||||
<< cmCTestLogWrite(&*chunkDebug.begin(), chunkDebug.size()) << "]" << std::endl);
|
||||
}
|
||||
|
||||
fclose(ftpfile);
|
||||
if ( res )
|
||||
|
@ -326,10 +332,16 @@ bool cmCTestSubmitHandler::SubmitUsingHTTP(const cmStdString& localprefix,
|
|||
// Now run off and do what you've been told!
|
||||
res = ::curl_easy_perform(curl);
|
||||
|
||||
if ( chunk.size() > 0 )
|
||||
{
|
||||
cmCTestLog(m_CTest, DEBUG, "CURL output: ["
|
||||
<< cmCTestLogWrite(&*chunk.begin(), chunk.size()) << "]" << std::endl);
|
||||
}
|
||||
if ( chunkDebug.size() > 0 )
|
||||
{
|
||||
cmCTestLog(m_CTest, DEBUG, "CURL debug output: ["
|
||||
<< cmCTestLogWrite(&*chunkDebug.begin(), chunkDebug.size()) << "]" << std::endl);
|
||||
}
|
||||
|
||||
fclose(ftpfile);
|
||||
if ( res )
|
||||
|
@ -454,10 +466,16 @@ bool cmCTestSubmitHandler::TriggerUsingHTTP(const std::set<cmStdString>& files,
|
|||
return false;
|
||||
}
|
||||
|
||||
if ( chunk.size() > 0 )
|
||||
{
|
||||
cmCTestLog(m_CTest, DEBUG, "CURL output: ["
|
||||
<< cmCTestLogWrite(&*chunk.begin(), chunk.size()) << "]" << std::endl);
|
||||
}
|
||||
if ( chunkDebug.size() > 0 )
|
||||
{
|
||||
cmCTestLog(m_CTest, DEBUG, "CURL debug output: ["
|
||||
<< cmCTestLogWrite(&*chunkDebug.begin(), chunkDebug.size()) << "]" << std::endl);
|
||||
}
|
||||
|
||||
// always cleanup
|
||||
::curl_easy_cleanup(curl);
|
||||
|
|
Loading…
Reference in New Issue