Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
1c36f964
Commit
1c36f964
authored
May 20, 2019
by
Adrien Béraud
Browse files
name directory: schedule saving addresses
Change-Id: If65e96d9ae67631deda902240a828b084ec8611a
parent
301d9af8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/jamidht/namedirectory.cpp
View file @
1c36f964
...
...
@@ -264,7 +264,7 @@ void NameDirectory::lookupName(const std::string& n, LookupCallback cb)
nameCache_
.
emplace
(
addr
,
name
);
}
cb
(
addr
,
Response
::
found
);
s
aveCach
e
();
s
cheduleSav
e
();
}
else
if
(
code
>=
400
&&
code
<
500
)
{
cb
(
""
,
Response
::
notFound
);
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment