summaryrefslogtreecommitdiffhomepage
path: root/Stars45/NetLobbyServer.cpp
diff options
context:
space:
mode:
authorFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2012-05-27 09:39:31 +0000
committerFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2012-05-27 09:39:31 +0000
commit03b1d6b74d13dd51a53d2531becb4137b96fa1ed (patch)
tree7268e27a4f905c0972c738016758bd1a97deae37 /Stars45/NetLobbyServer.cpp
parente13cda27515a6a528a515e41ddd97a116bf80da3 (diff)
downloadstarshatter-03b1d6b74d13dd51a53d2531becb4137b96fa1ed.zip
starshatter-03b1d6b74d13dd51a53d2531becb4137b96fa1ed.tar.gz
starshatter-03b1d6b74d13dd51a53d2531becb4137b96fa1ed.tar.bz2
A few things MSVC's analyzer found.
Diffstat (limited to 'Stars45/NetLobbyServer.cpp')
-rw-r--r--Stars45/NetLobbyServer.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}