From 93f4844c9c42a01ef7d0dc33451b2d98c8f7438f Mon Sep 17 00:00:00 2001 From: sfan5 Date: Tue, 14 May 2024 23:12:49 +0200 Subject: [PATCH] Fix unintentional error message with dynamic media --- src/client/filecache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/filecache.cpp b/src/client/filecache.cpp index ffd011866..1f7e605d1 100644 --- a/src/client/filecache.cpp +++ b/src/client/filecache.cpp @@ -38,7 +38,7 @@ void FileCache::createDir() bool FileCache::loadByPath(const std::string &path, std::ostream &os) { - auto fis = open_ifstream(path.c_str(), true); + auto fis = open_ifstream(path.c_str(), false); if (!fis.good()) return false;