aboutsummaryrefslogtreecommitdiff
path: root/zenserver
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-10-15 11:25:16 +0200
committerStefan Boberg <[email protected]>2021-10-15 11:25:35 +0200
commit01de07426c9d923c8c0b4ef7272b5b822399c4a7 (patch)
treea6ea0eda7316864ab63721bd10f642ad5ad57da8 /zenserver
parenthttpasio: implemented proper handling of query strings (diff)
downloadzen-01de07426c9d923c8c0b4ef7272b5b822399c4a7.tar.xz
zen-01de07426c9d923c8c0b4ef7272b5b822399c4a7.zip
clang-format
Diffstat (limited to 'zenserver')
-rw-r--r--zenserver/cache/structuredcachestore.cpp2
-rw-r--r--zenserver/zenserver.cpp6
2 files changed, 6 insertions, 2 deletions
diff --git a/zenserver/cache/structuredcachestore.cpp b/zenserver/cache/structuredcachestore.cpp
index ccd06b540..9f63699e5 100644
--- a/zenserver/cache/structuredcachestore.cpp
+++ b/zenserver/cache/structuredcachestore.cpp
@@ -728,7 +728,7 @@ ZenCacheDiskLayer::CacheBucket::PutStandaloneCacheValue(const IoHash& HashKey, c
if (Ec)
{
std::error_code InnerEc;
- const uint64_t ExistingFileSize = std::filesystem::file_size(FsPath, InnerEc);
+ const uint64_t ExistingFileSize = std::filesystem::file_size(FsPath, InnerEc);
if (!InnerEc && ExistingFileSize == Value.Value.Size())
{
diff --git a/zenserver/zenserver.cpp b/zenserver/zenserver.cpp
index 1fddec437..a1cd01d33 100644
--- a/zenserver/zenserver.cpp
+++ b/zenserver/zenserver.cpp
@@ -108,7 +108,11 @@ using namespace std::literals;
class ZenServer : public IHttpStatusProvider
{
public:
- void Initialize(ZenServiceConfig& ServiceConfig, std::string_view HttpServerClass, int BasePort, int ParentPid, ZenServerState::ZenServerEntry* ServerEntry)
+ void Initialize(ZenServiceConfig& ServiceConfig,
+ std::string_view HttpServerClass,
+ int BasePort,
+ int ParentPid,
+ ZenServerState::ZenServerEntry* ServerEntry)
{
using namespace fmt::literals;