Browse Source

Merge pull request #2014 from Vort/log_fixes

Logging fixes
pull/2016/head
orignal 5 months ago committed by GitHub
parent
commit
4cb2ad48be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      libi2pd/NTCP2.cpp
  2. 2
      libi2pd/SSU2Session.cpp

2
libi2pd/NTCP2.cpp

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

2
libi2pd/SSU2Session.cpp

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

Loading…
Cancel
Save