diff options
author | Matthias Kortstiege <mkortstiege@users.noreply.github.com> | 2015-09-13 17:28:33 +0200 |
---|---|---|
committer | Matthias Kortstiege <mkortstiege@users.noreply.github.com> | 2015-09-13 17:28:33 +0200 |
commit | 8f5435d430ca4bb48aa4877c4be3bf7ea81bfcce (patch) | |
tree | e2a151bb782199afc4b75aae703db549d6bce065 | |
parent | 09a68bdc796848653faa7baaccd467e670cec75b (diff) | |
parent | 106fb24ef8c93eb1659e5930d067c1f21babecbe (diff) |
Merge pull request #8041 from tamland/zipdir_logspam
remove zip operation log spam
-rw-r--r-- | xbmc/filesystem/ZipManager.cpp | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/xbmc/filesystem/ZipManager.cpp b/xbmc/filesystem/ZipManager.cpp index 4daa9f76c4..e68f47d818 100644 --- a/xbmc/filesystem/ZipManager.cpp +++ b/xbmc/filesystem/ZipManager.cpp @@ -45,8 +45,6 @@ CZipManager::~CZipManager() bool CZipManager::GetZipList(const CURL& url, std::vector<SZipEntry>& items) { - CLog::Log(LOGDEBUG, "%s - Processing %s", __FUNCTION__, url.GetRedacted().c_str()); - struct __stat64 m_StatData = {}; std::string strFile = url.GetHostName(); @@ -61,15 +59,14 @@ bool CZipManager::GetZipList(const CURL& url, std::vector<SZipEntry>& items) if (it != mZipMap.end()) // already listed, just return it if not changed, else release and reread { std::map<std::string,int64_t>::iterator it2=mZipDate.find(strFile); - CLog::Log(LOGDEBUG,"statdata: %" PRId64" new: %" PRIu64, it2->second, (uint64_t)m_StatData.st_mtime); - if (m_StatData.st_mtime == it2->second) - { - items = it->second; - return true; - } - mZipMap.erase(it); - mZipDate.erase(it2); + if (m_StatData.st_mtime == it2->second) + { + items = it->second; + return true; + } + mZipMap.erase(it); + mZipDate.erase(it2); } CFile mFile; |