aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorR E Broadley <rebroad+github@gmail.com>2012-05-17 22:10:59 +0100
committerR E Broadley <rebroad+github@gmail.com>2012-07-02 21:45:43 +0100
commit812392d325a17bb3f784e453a2cc8282806c9012 (patch)
treed1e22d2e565224e9034520f91035e51639904c6b /src/net.h
parente75acc006e8bc5c44d1d6e6c3b027fe28d8c743b (diff)
downloadbitcoin-812392d325a17bb3f784e453a2cc8282806c9012.tar.xz
Include human readble format for nRequestTime.
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index fa6f700867..73e16966f5 100644
--- a/src/net.h
+++ b/src/net.h
@@ -298,7 +298,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;