aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR E Broadley <rebroad+github@gmail.com>2014-05-20 12:15:56 +0800
committerR E Broadley <rebroad+github@gmail.com>2014-05-20 12:31:26 +0800
commit0a59723ff6218d545438e8e0f3083fc1d1b98bd4 (patch)
treea9a7c0ab40ee9d20b4893caaa074be33416d3670
parenta99f9be0ebd4062fd73648d525b2c7961f845580 (diff)
Remove extraneous c_str
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index f7c53052e1..7bb3bdb70c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -4445,7 +4445,7 @@ bool SendMessages(CNode* pto, bool fSendTrickle)
uint256 hash = state.vBlocksToDownload.front();
vGetData.push_back(CInv(MSG_BLOCK, hash));
MarkBlockAsInFlight(pto->GetId(), hash);
- LogPrint("net", "Requesting block %s from %s\n", hash.ToString().c_str(), state.name.c_str());
+ LogPrint("net", "Requesting block %s from %s\n", hash.ToString(), state.name);
if (vGetData.size() >= 1000)
{
pto->PushMessage("getdata", vGetData);