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

Merge pull request #1872 from Vort/log_fix

Fix debug log output
This commit is contained in:
orignal 2023-02-09 19:34:25 -05:00 committed by GitHub
commit 6ac849fe37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -834,7 +834,7 @@ namespace data
} }
else // all others are considered as LeaseSet2 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); updated = AddLeaseSet2 (ident, buf + offset, len - offset, storeType);
} }
} }

View File

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