1
0
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:
R4SAS 2017-02-16 17:45:38 +03:00
parent f044851abb
commit 16fa10b056

View File

@ -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;