Merge pull request #2014 from Vort/log_fixes

Logging fixes
This commit is contained in:
orignal
2024-02-10 10:22:52 -05:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -381,7 +381,7 @@ namespace transport
if (remoteIdentity) if (remoteIdentity)
{ {
LogPrint (eLogDebug, "NTCP2: Session with ", GetRemoteEndpoint (), LogPrint (eLogDebug, "NTCP2: Session with ", GetRemoteEndpoint (),
" (", i2p::data::GetIdentHashAbbreviation (GetRemoteIdentity ()->GetIdentHash ()), ") terminated"); " (", i2p::data::GetIdentHashAbbreviation (remoteIdentity->GetIdentHash ()), ") terminated");
} }
else else
{ {

View File

@@ -277,7 +277,7 @@ namespace transport
if (remoteIdentity) if (remoteIdentity)
{ {
LogPrint (eLogDebug, "SSU2: Session with ", GetRemoteEndpoint (), LogPrint (eLogDebug, "SSU2: Session with ", GetRemoteEndpoint (),
" (", i2p::data::GetIdentHashAbbreviation (GetRemoteIdentity ()->GetIdentHash ()), ") terminated"); " (", i2p::data::GetIdentHashAbbreviation (remoteIdentity->GetIdentHash ()), ") terminated");
} }
else else
{ {