diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-08 01:08:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-08 02:14:34 +0300 |
commit | eec1a3ac6695351acf0abe67a535e44883738a93 (patch) | |
tree | 2efd44372f3c19e683fe4b30ab02b1453d0f546e /src/fs/virtfs/zip.cpp | |
parent | 86961b89087ccd3cf5aed8ba1add32a982f3641c (diff) | |
download | plus-eec1a3ac6695351acf0abe67a535e44883738a93.tar.gz plus-eec1a3ac6695351acf0abe67a535e44883738a93.tar.bz2 plus-eec1a3ac6695351acf0abe67a535e44883738a93.tar.xz plus-eec1a3ac6695351acf0abe67a535e44883738a93.zip |
Dont show debug info about zip archives in log.
Diffstat (limited to 'src/fs/virtfs/zip.cpp')
-rw-r--r-- | src/fs/virtfs/zip.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fs/virtfs/zip.cpp b/src/fs/virtfs/zip.cpp index 0556af1f8..32b7bdf56 100644 --- a/src/fs/virtfs/zip.cpp +++ b/src/fs/virtfs/zip.cpp @@ -36,6 +36,8 @@ #include "debug.h" +//#define DEBUG_ZIP + extern const char *dirSeparator; #define readVal(val, sz, msg) \ @@ -136,6 +138,7 @@ namespace Zip if (findLast(header->fileName, dirSeparator) == false) { headers.push_back(header); +#ifdef DEBUG_ZIP logger->log(" file name: %s", header->fileName.c_str()); logger->log(" compression method: %u", @@ -144,11 +147,14 @@ namespace Zip header->compressSize); logger->log(" uncompressed size: %u", header->uncompressSize); +#endif // DEBUG_ZIP } else { +#ifdef DEBUG_ZIP logger->log(" dir name: %s", header->fileName.c_str()); +#endif // DEBUG_ZIP dirs.push_back(header->fileName); delete header; } |