mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-25 23:44:18 +00:00
fix incorrect traffic counting
This commit is contained in:
parent
f044851abb
commit
16fa10b056
@ -99,7 +99,7 @@ namespace win32
|
|||||||
s << seconds << " seconds\n";
|
s << seconds << " seconds\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ShowTransfered (std::stringstream& s, int transfer)
|
template <typename size> static void ShowTransfered (std::stringstream& s, size transfer)
|
||||||
{
|
{
|
||||||
auto bytes = transfer & 0x03ff;
|
auto bytes = transfer & 0x03ff;
|
||||||
transfer >>= 10;
|
transfer >>= 10;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user