From 03b1d6b74d13dd51a53d2531becb4137b96fa1ed Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Sun, 27 May 2012 09:39:31 +0000 Subject: A few things MSVC's analyzer found. --- Stars45/NetLobbyServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/NetLobbyServer.cpp') diff --git a/Stars45/NetLobbyServer.cpp b/Stars45/NetLobbyServer.cpp index 1c3ce30..13ba07b 100644 --- a/Stars45/NetLobbyServer.cpp +++ b/Stars45/NetLobbyServer.cpp @@ -202,7 +202,7 @@ NetLobbyServer::SendMOTD(NetUser* user) Text* line = motd[i]; sprintf_s(buffer, "id %d user \" \" msg \"%s\"", - motd_index++, *line); + motd_index++, line->data()); SendData(user, NET_LOBBY_CHAT, buffer); } -- cgit v1.1