summaryrefslogtreecommitdiffhomepage
path: root/Stars45/NetLobbyClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/NetLobbyClient.cpp')
-rw-r--r--Stars45/NetLobbyClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Stars45/NetLobbyClient.cpp b/Stars45/NetLobbyClient.cpp
index 9340409..14bf749 100644
--- a/Stars45/NetLobbyClient.cpp
+++ b/Stars45/NetLobbyClient.cpp
@@ -745,7 +745,7 @@ NetLobbyClient::DoMissionData(NetPeer* peer, Text msg)
if (msg.length()) {
FILE* f;
- ::fopen_s(&f, "multi_mission_recv.def", "w");
+ ::fopen_s(&f, "multi_mission_recv.def", "wb");
if (f) {
::fwrite(msg.data(), msg.length(), 1, f);
::fclose(f);