Skip to content

Commit

Permalink
dht: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
aberaud committed Aug 2, 2019
1 parent c1f805e commit 4b061d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dht.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 4b061d0

Please sign in to comment.