use fmt properly in beammp_*f logging functions

This commit is contained in:
Lion Kortlepel
2022-03-24 14:45:53 +01:00
parent 9e0d02c6db
commit 7a814ed35e
7 changed files with 20 additions and 18 deletions

View File

@@ -116,7 +116,7 @@ void TNetwork::TCPServerMain() {
SOCKET Listener = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
if (Listener == BEAMMP_INVALID_SOCKET) {
beammp_error("Failed to create socket: " + GetPlatformAgnosticErrorString()
+ ". This is a fatal error, as a socket is needed for the server to operate. Shutting down.");
+ ". This is a fatal error, as a socket is needed for the server to operate. Shutting down.");
Application::GracefullyShutdown();
}
#if defined(BEAMMP_WINDOWS)