diff options
| author | Pieter Wuille <[email protected]> | 2014-09-09 16:39:35 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2014-09-09 16:43:06 +0200 |
| commit | 1575c5171fac4f3e4f3d0794ed0312a17be6d7f1 (patch) | |
| tree | a7f34e8c2c5aba8fbb00ab3da26376f609acec22 /src/net.cpp | |
| parent | Merge pull request #4873 (diff) | |
| parent | Remove some unnecessary c_strs() in logging and the GUI (diff) | |
| download | discoin-1575c5171fac4f3e4f3d0794ed0312a17be6d7f1.tar.xz discoin-1575c5171fac4f3e4f3d0794ed0312a17be6d7f1.zip | |
Merge pull request #4868
2c2cc5d Remove some unnecessary c_strs() in logging and the GUI (Philip Kaufmann)
f7d0a86 netbase: Use .data() instead of .c_str() on binary string (Wladimir J. van der Laan)
Diffstat (limited to 'src/net.cpp')
| -rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index 2546826f9..633a3a34e 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -2114,7 +2114,7 @@ void CNode::AskFor(const CInv& inv) nRequestTime = it->second; else nRequestTime = 0; - LogPrint("net", "askfor %s %d (%s) peer=%d\n", inv.ToString(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str(), id); + LogPrint("net", "askfor %s %d (%s) peer=%d\n", inv.ToString(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000), id); // Make sure not to reuse time indexes to keep things in the same order int64_t nNow = GetTimeMicros() - 1000000; |