revert changes, they didn't fix it

This commit is contained in:
Lion Kortlepel
2021-03-30 14:32:56 +02:00
parent 24a34d7a97
commit c7cf0a733e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ std::string GetDate() {
<< " "; << " ";
} }
*/ */
return std::string(date.str()); return date.str();
} }
TConsole::TConsole() { TConsole::TConsole() {
+1 -1
View File
@@ -358,7 +358,7 @@ bool TNetwork::TCPSend(TClient& c, const std::string& Data, bool IsSync) {
Sent = 0; Sent = 0;
Size += 4; Size += 4;
do { do {
int32_t Temp = send(c.GetTCPSock(), &Send[Sent], Size - Sent, MSG_NOSIGNAL); int32_t Temp = send(c.GetTCPSock(), &Send[Sent], Size - Sent, 0);
if (Temp == 0) { if (Temp == 0) {
if (c.GetStatus() > -1) if (c.GetStatus() > -1)
c.SetStatus(-1); c.SetStatus(-1);