From: Joel Rosdahl Date: Mon, 18 Jul 2022 13:10:46 +0000 (+0200) Subject: fix(file-storage): Remove duplicate backslash from directory X-Git-Tag: v4.7~152 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e007123076cc3a8210d45b8579b16314f906e0f0;p=thirdparty%2Fccache.git fix(file-storage): Remove duplicate backslash from directory --- diff --git a/src/storage/secondary/FileStorage.cpp b/src/storage/secondary/FileStorage.cpp index 8807ab407..b03dbf988 100644 --- a/src/storage/secondary/FileStorage.cpp +++ b/src/storage/secondary/FileStorage.cpp @@ -71,7 +71,7 @@ FileStorageBackend::FileStorageBackend(const Params& params) #ifdef _WIN32 m_dir = util::replace_all(params.url.path(), "/", "\\"); if (!host.empty()) { - m_dir = FMT("\\\\{}\\{}", host, m_dir); + m_dir = FMT("\\\\{}{}", host, m_dir); } #else if (!host.empty() && host != "localhost") {