i2p: log "SAM session" instead of "session"

This way the log messages are consistent with "Creating SAM session..."
This commit is contained in:
Vasil Dimov 2022-07-29 14:59:25 +02:00
parent d7ec30b648
commit 59aa54f731
No known key found for this signature in database
GPG key ID: 54DF06F64B55CBBF

View file

@ -434,9 +434,9 @@ void Session::Disconnect()
{
if (m_control_sock->Get() != INVALID_SOCKET) {
if (m_session_id.empty()) {
Log("Destroying incomplete session");
Log("Destroying incomplete SAM session");
} else {
Log("Destroying session %s", m_session_id);
Log("Destroying SAM session %s", m_session_id);
}
}
m_control_sock = std::make_unique<Sock>(INVALID_SOCKET);