Skip to content
Permalink
Browse files

dht: cleanup

  • Loading branch information...
aberaud committed Aug 2, 2019
1 parent c1f805e commit 4b061d0886214b057b6c9c05d5215aea59f0cf66
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/dht.cpp
@@ -1202,7 +1202,7 @@ Dht::storageStore(const InfoHash& id, const Sp<Value>& value, time_point created

StorageBucket* store_bucket {nullptr};
if (sa)
store_bucket = &store_quota.emplace(sa, StorageBucket{}).first->second;
store_bucket = &store_quota[sa];

auto store = st->second.store(id, value, created, expiration, store_bucket);
if (auto vs = store.first) {

0 comments on commit 4b061d0

Please sign in to comment.
You can’t perform that action at this time.