1
0
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:
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";
}
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;