mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-01 15:26:59 +00:00
possible windows compiler fix
This commit is contained in:
parent
afb18ccff7
commit
e92847e628
@ -22,7 +22,7 @@ inline void CloseSocketProper(int TheSocket) {
|
||||
|
||||
#ifdef WIN32
|
||||
#include <conio.h>
|
||||
#include <winsock2.h>
|
||||
#include <ws2def.h>
|
||||
inline void CloseSocketProper(SOCKET TheSocket) {
|
||||
shutdown(TheSocket, SD_BOTH);
|
||||
closesocket(TheSocket);
|
||||
|
@ -51,7 +51,6 @@ void THeartbeatThread::operator()() {
|
||||
};
|
||||
SentryReportError(Application::GetBackendHostname() + Target);
|
||||
|
||||
//Backend system refused server startup!
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(500));
|
||||
T = Http::POST(Application::GetBackup1Hostname(), Target, {}, Body, false);
|
||||
if (T.substr(0, 2) != "20") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user