From 5106eab4d1b166b920774deead7f98922ce0ec83 Mon Sep 17 00:00:00 2001 From: miketout Date: Sun, 14 Oct 2018 01:49:14 -0700 Subject: [PATCH] C string vs. std::string --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") {