diff options
author | Jeff Garzik <jgarzik@exmulti.com> | 2012-08-01 09:08:00 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@exmulti.com> | 2012-08-01 09:08:00 -0700 |
commit | a823faecf1463d0ce09b1c6690d69c624cc62874 (patch) | |
tree | cb8c1f16b03c7d50e50420f467565904c1eeb12b /src | |
parent | 0ecbd46fe73cb42f3b944e5cabeb220fd4bcb2a9 (diff) | |
parent | 812392d325a17bb3f784e453a2cc8282806c9012 (diff) |
Merge pull request #1344 from rebroad/AskForTimeFormat
Unless debugging, show a more useful format for the askfors
Diffstat (limited to 'src')
-rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -316,7 +316,7 @@ public: // the key is the earliest time the request can be sent int64& nRequestTime = mapAlreadyAskedFor[inv]; if (fDebugNet) - printf("askfor %s %"PRI64d"\n", inv.ToString().c_str(), nRequestTime); + printf("askfor %s %"PRI64d" (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str()); // Make sure not to reuse time indexes to keep things in the same order int64 nNow = (GetTime() - 1) * 1000000; |