Fix output compression error message

This commit is contained in:
Zach Mullen 2009-12-17 11:17:57 -05:00
parent ff916b48bd
commit 1842d2eae0
1 changed files with 1 additions and 2 deletions

View File

@ -91,7 +91,6 @@ void cmCTestRunTest::CompressOutput()
ret = deflateInit(&strm, -1); //default compression level
if (ret != Z_OK)
{
//log deflate init error?
return;
}
@ -103,7 +102,7 @@ void cmCTestRunTest::CompressOutput()
if(ret == Z_STREAM_ERROR || ret != Z_STREAM_END)
{
cmCTestLog(this->CTest, ERROR_MESSAGE, "Error initializing stream "
cmCTestLog(this->CTest, ERROR_MESSAGE, "Error during output "
"compression. Sending uncompressed output." << std::endl);
return;
}