mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-11 13:27:52 +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";
|
||||
}
|
||||
|
||||
static void ShowTransfered (std::stringstream& s, int transfer)
|
||||
template <typename size> static void ShowTransfered (std::stringstream& s, size transfer)
|
||||
{
|
||||
auto bytes = transfer & 0x03ff;
|
||||
transfer >>= 10;
|
||||
|
Loading…
Reference in New Issue
Block a user