C string vs. std::string
This commit is contained in:
@@ -6348,7 +6348,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("netmsg: %s\n", strCommand);
|
printf("netmsg: %s\n", strCommand.c_str());
|
||||||
|
|
||||||
if (strCommand == "version")
|
if (strCommand == "version")
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user