mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-13 04:46:38 +01:00
correct time offset direction
This commit is contained in:
parent
8319dd6b25
commit
21f41a2b2a
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue