CMakeLists: move sentry back in, add C to languages

This commit is contained in:
Lion Kortlepel authored and Lion committed 2021-09-08 19:55:03 +03:00
1 parent 2774a73d83
commit b3a8b1a682
3 files changed
+5 -6

No files matched your search

+2 -2
View File
@@ -452,7 +452,7 @@ std::string TNetwork::TCPRcv(TClient& c) {
#endif // DEBUG
if (!CheckBytes(c, BytesRcv)) {
#ifdef DEBUG
error(std::string(__func__) + (": failed on CheckBytes"));
warn(std::string(__func__) + (": failed on CheckBytes"));
#endif // DEBUG
return "";
}
@@ -468,7 +468,7 @@ std::string TNetwork::TCPRcv(TClient& c) {
Temp = recv(c.GetTCPSock(), &Data[BytesRcv], Header - BytesRcv, 0);
if (!CheckBytes(c, Temp)) {
#ifdef DEBUG
error(std::string(__func__) + (": failed on CheckBytes in while(BytesRcv < Header)"));
warn(std::string(__func__) + (": failed on CheckBytes in while(BytesRcv < Header)"));
#endif // DEBUG
return "";
-1
View File
@@ -55,7 +55,6 @@ int main(int argc, char** argv) try {
bool Shutdown = false;
Application::RegisterShutdownHandler([&Shutdown] { Shutdown = true; });
TServer Server(argc, argv);
TConfig Config;