aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-08-01 09:08:00 -0700
committerJeff Garzik <jgarzik@exmulti.com>2012-08-01 09:08:00 -0700
commita823faecf1463d0ce09b1c6690d69c624cc62874 (patch)
treecb8c1f16b03c7d50e50420f467565904c1eeb12b /src
parent0ecbd46fe73cb42f3b944e5cabeb220fd4bcb2a9 (diff)
parent812392d325a17bb3f784e453a2cc8282806c9012 (diff)
downloadbitcoin-a823faecf1463d0ce09b1c6690d69c624cc62874.tar.xz
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index fccb5d10f9..fc120da806 100644
--- a/src/net.h
+++ b/src/net.h
@@ -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;