Browse Source

logging fixes

pull/2014/head
Vort 5 months ago
parent
commit
adba3987f8
  1. 2
      libi2pd/NTCP2.cpp
  2. 2
      libi2pd/SSU2Session.cpp

2
libi2pd/NTCP2.cpp

@ -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
{ {

2
libi2pd/SSU2Session.cpp

@ -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
{ {

Loading…
Cancel
Save