Update llarp/iwp/session.cpp

return

Co-authored-by: Thomas Winget <tewinget@gmail.com>
This commit is contained in:
majestrate 2022-05-02 15:15:00 -04:00 committed by Jeff
parent 26c8063fc9
commit 238c33f565
No known key found for this signature in database
GPG Key ID: 025C02EE3A092F2D
1 changed files with 2 additions and 0 deletions

View File

@ -128,10 +128,12 @@ namespace llarp
if (not msg.BEncode(&buf))
{
LogError("failed to encode LIM for ", m_RemoteAddr);
return;
}
if (not SendMessageBuffer(std::move(data), h))
{
LogError("failed to send LIM to ", m_RemoteAddr);
return;
}
LogTrace("sent LIM to ", m_RemoteAddr);
}