Skip to content

Commit

Permalink
network bytes order for timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Sep 3, 2014
1 parent 99f57b3 commit 770452c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion I2NPProtocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ namespace i2p
if (isEndpoint) clearText.flag |= 0x40;
memcpy (clearText.ourIdent, ourIdent, 32);
memcpy (clearText.nextIdent, nextIdent, 32);
clearText.requestTime = i2p::util::GetHoursSinceEpoch ();
clearText.requestTime = htobe32 (i2p::util::GetHoursSinceEpoch ());
clearText.nextMessageID = htobe32(nextMessageID);
return clearText;
}
Expand Down

0 comments on commit 770452c

Please sign in to comment.