diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-04-04 22:11:45 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-04-04 22:11:45 +0000 |
commit | f2e6283815f4b598f3aa13441f82228370b8d077 (patch) | |
tree | 82886fbcbce618878dff2fb2ab6229d91e2f69d1 /lib/compress | |
parent | d5f9f9c253584cc12cd88c83afd6c6bfcc6ebd68 (diff) |
Undo mangling by tailor
Diffstat (limited to 'lib/compress')
-rw-r--r-- | lib/compress/Compress.h | 8 | ||||
-rw-r--r-- | lib/compress/CompressStream.cpp | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/compress/Compress.h b/lib/compress/Compress.h index 4a98a59e..de38af2c 100644 --- a/lib/compress/Compress.h +++ b/lib/compress/Compress.h @@ -52,10 +52,12 @@ public: if((r = ((Compressing)?(deflateEnd(&mStream)) :(inflateEnd(&mStream)))) != Z_OK) { - TRACE1("zlib error code = %d\n", r); + BOX_WARNING("zlib error code = " << r); if(r == Z_DATA_ERROR) { - TRACE0("WARNING: End of compress/decompress without all input being consumed -- possible corruption?\n"); + BOX_WARNING("End of compress/decompress " + "without all input being consumed, " + "possible corruption?"); } else { @@ -148,7 +150,7 @@ public: // Check errors if(ret < 0) { - TRACE1("zlib error code = %d\n", ret); + BOX_WARNING("zlib error code = " << ret); THROW_EXCEPTION(CompressException, TransformFailed) } diff --git a/lib/compress/CompressStream.cpp b/lib/compress/CompressStream.cpp index 2839b647..322b203b 100644 --- a/lib/compress/CompressStream.cpp +++ b/lib/compress/CompressStream.cpp @@ -414,7 +414,7 @@ void CompressStream::CheckBuffer() { size *= 2; } - TRACE1("Allocating CompressStream buffer, size %d\n", size); + BOX_TRACE("Allocating CompressStream buffer, size " << size); mpBuffer = ::malloc(size); if(mpBuffer == 0) { |