diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-08 17:30:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-08 17:31:16 +0300 |
commit | 759ea19bab7125dd6256caf2a2d37f4d7df0ce4b (patch) | |
tree | 31d5ff8ff650ca794513aa1dcfe88f9981f9b1ad /src/fs/virtfs | |
parent | c0cc78df590a81b15d8a7eb1590edbec8fec6f1a (diff) | |
download | mv-759ea19bab7125dd6256caf2a2d37f4d7df0ce4b.tar.gz mv-759ea19bab7125dd6256caf2a2d37f4d7df0ce4b.tar.bz2 mv-759ea19bab7125dd6256caf2a2d37f4d7df0ce4b.tar.xz mv-759ea19bab7125dd6256caf2a2d37f4d7df0ce4b.zip |
Dont show in log "read archive ..." messages if zip debugging disabled.
Diffstat (limited to 'src/fs/virtfs')
-rw-r--r-- | src/fs/virtfs/zip.cpp | 3 |
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) { |