diff --git a/src/main.cpp b/src/main.cpp index 76bf279b5..0d622ef34 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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") {