diff options
Diffstat (limited to 'zenserver/cache/structuredcachestore.cpp')
| -rw-r--r-- | zenserver/cache/structuredcachestore.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zenserver/cache/structuredcachestore.cpp b/zenserver/cache/structuredcachestore.cpp index bb85f9824..9ebec1e76 100644 --- a/zenserver/cache/structuredcachestore.cpp +++ b/zenserver/cache/structuredcachestore.cpp @@ -1179,7 +1179,7 @@ ZenCacheDiskLayer::CacheBucket::Put(const IoHash& HashKey, const ZenCacheValue& static bool DeleteBucketFromDisk(const std::filesystem::path& BucketDir, std::string_view BucketName) { - int dropIndex = 0; + int DropIndex = 0; do { if (!std::filesystem::exists(BucketDir)) @@ -1187,11 +1187,11 @@ DeleteBucketFromDisk(const std::filesystem::path& BucketDir, std::string_view Bu return false; } - std::string DroppedBucketName = fmt::format("[dropped]{}({})", BucketName, dropIndex); + std::string DroppedBucketName = fmt::format("[dropped]{}({})", BucketName, DropIndex); std::filesystem::path DroppedBucketPath = BucketDir.parent_path() / DroppedBucketName; if (std::filesystem::exists(DroppedBucketPath)) { - dropIndex++; + DropIndex++; continue; } |