C string vs. std::string

This commit is contained in:
miketout
2018-10-14 01:49:14 -07:00
parent ba375e2e92
commit 5106eab4d1

View File

@@ -6348,7 +6348,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
return true;
}
printf("netmsg: %s\n", strCommand);
printf("netmsg: %s\n", strCommand.c_str());
if (strCommand == "version")
{