1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 08:14:38 +01:00

Write server log as binary

This commit is contained in:
Matt
2019-05-11 23:42:23 +02:00
parent c1d6337e3b
commit 2ea15ac146

View File

@@ -1400,9 +1400,9 @@ void Network::BeginServerLog()
# if defined(_WIN32) && !defined(__MINGW32__)
auto pathW = std::unique_ptr<wchar_t>(utf8_to_widechar(_serverLogPath.c_str()));
_server_log_fs.open(pathW.get(), std::ios::out | std::ios::app);
_server_log_fs.open(pathW.get(), std::ios::out | std::ios::app | std::ios::binary);
# else
_server_log_fs.open(_serverLogPath, std::ios::out | std::ios::app);
_server_log_fs.open(_serverLogPath, std::ios::out | std::ios::app | std::ios::binary);
# endif
// Log server start event