Browse Source

Merge pull request #4199

0a59723 Remove extraneous c_str (R E Broadley)
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
dff9d2f293
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/main.cpp

2
src/main.cpp

@ -4463,7 +4463,7 @@ bool SendMessages(CNode* pto, bool fSendTrickle)
uint256 hash = state.vBlocksToDownload.front(); uint256 hash = state.vBlocksToDownload.front();
vGetData.push_back(CInv(MSG_BLOCK, hash)); vGetData.push_back(CInv(MSG_BLOCK, hash));
MarkBlockAsInFlight(pto->GetId(), 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) if (vGetData.size() >= 1000)
{ {
pto->PushMessage("getdata", vGetData); pto->PushMessage("getdata", vGetData);

Loading…
Cancel
Save