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") {