Browse Source

Fix debug log output

pull/1872/head
Vort 1 year ago
parent
commit
0829b186b7
  1. 2
      libi2pd/NetDb.cpp
  2. 2
      libi2pd/SSU2Session.cpp

2
libi2pd/NetDb.cpp

@ -834,7 +834,7 @@ namespace data @@ -834,7 +834,7 @@ namespace data
}
else // all others are considered as LeaseSet2
{
LogPrint (eLogDebug, "NetDb: Store request: LeaseSet2 of type ", storeType, " for ", ident.ToBase32());
LogPrint (eLogDebug, "NetDb: Store request: LeaseSet2 of type ", int(storeType), " for ", ident.ToBase32());
updated = AddLeaseSet2 (ident, buf + offset, len - offset, storeType);
}
}

2
libi2pd/SSU2Session.cpp

@ -2308,7 +2308,7 @@ namespace transport @@ -2308,7 +2308,7 @@ namespace transport
void SSU2Session::HandleI2NPMsg (std::shared_ptr<I2NPMessage>&& msg)
{
if (!msg) return;
int32_t msgID = msg->GetMsgID ();
uint32_t msgID = msg->GetMsgID ();
if (!msg->IsExpired ())
{
// m_LastActivityTimestamp is updated in ProcessData before

Loading…
Cancel
Save