Commit 5cfa50f7 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

contact_list: do not load non existing file

Change-Id: I33c732784833808d092cefa402669a0bbdc0561e
GitLab: #582
parent d43c1927
......@@ -232,6 +232,8 @@ ContactList::saveTrustRequests() const
if (!fileutils::isFile(fileutils::getFullPath(path_, "incomingTrustRequests")))
std::map<dht::InfoHash, TrustRequest> requests;
try {
// read file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment