summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-08 17:30:47 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-08 17:31:16 +0300
commit759ea19bab7125dd6256caf2a2d37f4d7df0ce4b (patch)
tree31d5ff8ff650ca794513aa1dcfe88f9981f9b1ad /src
parentc0cc78df590a81b15d8a7eb1590edbec8fec6f1a (diff)
downloadmanaverse-759ea19bab7125dd6256caf2a2d37f4d7df0ce4b.tar.gz
manaverse-759ea19bab7125dd6256caf2a2d37f4d7df0ce4b.tar.bz2
manaverse-759ea19bab7125dd6256caf2a2d37f4d7df0ce4b.tar.xz
manaverse-759ea19bab7125dd6256caf2a2d37f4d7df0ce4b.zip
Dont show in log "read archive ..." messages if zip debugging disabled.
Diffstat (limited to 'src')
-rw-r--r--src/fs/virtfs/zip.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/virtfs/zip.cpp b/src/fs/virtfs/zip.cpp
index 32b7bdf56..a94c804e8 100644
--- a/src/fs/virtfs/zip.cpp
+++ b/src/fs/virtfs/zip.cpp
@@ -78,7 +78,10 @@ namespace Zip
uint16_t method = 0U;
ZipLocalHeader *header = nullptr;
+#ifdef DEBUG_ZIP
logger->log("Read archive: %s", archiveName.c_str());
+#endif // DEBUG_ZIP
+
// format source https://en.wikipedia.org/wiki/Zip_%28file_format%29
while (feof(arcFile) == 0)
{