From e92847e628583b13b35a01cd97780d4d39107fd0 Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Tue, 10 Aug 2021 13:57:32 +0200 Subject: [PATCH] possible windows compiler fix --- include/Compat.h | 2 +- src/THeartbeatThread.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/include/Compat.h b/include/Compat.h index c68ebfe..a773b2e 100644 --- a/include/Compat.h +++ b/include/Compat.h @@ -22,7 +22,7 @@ inline void CloseSocketProper(int TheSocket) { #ifdef WIN32 #include -#include +#include inline void CloseSocketProper(SOCKET TheSocket) { shutdown(TheSocket, SD_BOTH); closesocket(TheSocket); diff --git a/src/THeartbeatThread.cpp b/src/THeartbeatThread.cpp index 59d4eee..de54b81 100644 --- a/src/THeartbeatThread.cpp +++ b/src/THeartbeatThread.cpp @@ -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") {