mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
correct time offset direction
This commit is contained in:
parent
8319dd6b25
commit
21f41a2b2a
@ -217,8 +217,8 @@ namespace transport
|
||||
if (m_PendingTimeOffset) // one more
|
||||
{
|
||||
offset = (m_PendingTimeOffset + offset)/2; // average
|
||||
LogPrint (eLogWarning, "SSU2: Clock adjusted by ", -offset, " seconds");
|
||||
i2p::util::AdjustTimeOffset (-offset);
|
||||
LogPrint (eLogWarning, "SSU2: Clock adjusted by ", offset, " seconds");
|
||||
i2p::util::AdjustTimeOffset (offset);
|
||||
m_PendingTimeOffset = 0;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user