mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-08 09:05:24 -04:00
added statistics info for key requests
This commit is contained in:
parent
d3051eff1a
commit
0a3ec9706d
12 changed files with 37 additions and 29 deletions
|
@ -36,9 +36,13 @@
|
|||
#include <sys/timeb.h>
|
||||
#endif
|
||||
|
||||
std::string RsUtil::NumberToString(uint64_t n)
|
||||
std::string RsUtil::NumberToString(uint64_t n,bool hex)
|
||||
{
|
||||
std::ostringstream os ;
|
||||
|
||||
if(hex)
|
||||
os << std::hex ;
|
||||
|
||||
os << n ;
|
||||
os.flush() ;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue