aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorR E Broadley <rebroad+github@gmail.com>2014-05-21 18:50:46 +0800
committerR E Broadley <rebroad+github@gmail.com>2014-05-22 00:23:03 +0700
commit79d06dc6e07103b31b530f71b7187ea82c34266b (patch)
tree8a01bf8e5bc367115d4b58a7969b44c35cabe096 /src/net.h
parent6fcdad787f1fb381a3a0fe6b1a1e45477426dccb (diff)
Remove redundant c_str
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 729b1bcd57..58a8fa739b 100644
--- a/src/net.h
+++ b/src/net.h
@@ -430,7 +430,7 @@ public:
nRequestTime = it->second;
else
nRequestTime = 0;
- LogPrint("net", "askfor %s %d (%s)\n", inv.ToString().c_str(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
+ LogPrint("net", "askfor %s %d (%s)\n", inv.ToString(), nRequestTime, DateTimeStrFormat("%H:%M:%S", nRequestTime/1000000).c_str());
// Make sure not to reuse time indexes to keep things in the same order
int64_t nNow = GetTimeMicros() - 1000000;