diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-04-04 21:59:29 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-04-04 21:59:29 +0000 |
commit | 3661f3624acc46590d5504fda4f8714255fb2c8e (patch) | |
tree | e2cd17e19718d3f46944979a23e4c93dcf92584b /lib/compress/Compress.h | |
parent | 2f8d0c29536cdb306b525b78638727da4ead0022 (diff) |
Tailorization
Import of the upstream sources from
Repository: http://localhost:8000/
Kind: hg
Revision: 7807b7768163f1c2537756abe5416063989cebb1
Original author: tailor@rocio.int.aidworld.org
Date: 2008-03-16 19:44:36+00:00
Diffstat (limited to 'lib/compress/Compress.h')
-rw-r--r-- | lib/compress/Compress.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/compress/Compress.h b/lib/compress/Compress.h index de38af2c..4a98a59e 100644 --- a/lib/compress/Compress.h +++ b/lib/compress/Compress.h @@ -52,12 +52,10 @@ public: if((r = ((Compressing)?(deflateEnd(&mStream)) :(inflateEnd(&mStream)))) != Z_OK) { - BOX_WARNING("zlib error code = " << r); + TRACE1("zlib error code = %d\n", r); if(r == Z_DATA_ERROR) { - BOX_WARNING("End of compress/decompress " - "without all input being consumed, " - "possible corruption?"); + TRACE0("WARNING: End of compress/decompress without all input being consumed -- possible corruption?\n"); } else { @@ -150,7 +148,7 @@ public: // Check errors if(ret < 0) { - BOX_WARNING("zlib error code = " << ret); + TRACE1("zlib error code = %d\n", ret); THROW_EXCEPTION(CompressException, TransformFailed) } |