1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-19 09:29:58 +00:00

logging fixes

This commit is contained in:
Vort 2024-02-10 17:10:21 +02:00
parent 36dbc15bca
commit adba3987f8
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
{ {