mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-02 07:45:26 +00:00
revert changes, they didn't fix it
This commit is contained in:
parent
24a34d7a97
commit
c7cf0a733e
@ -36,7 +36,7 @@ std::string GetDate() {
|
||||
<< " ";
|
||||
}
|
||||
*/
|
||||
return std::string(date.str());
|
||||
return date.str();
|
||||
}
|
||||
|
||||
TConsole::TConsole() {
|
||||
|
@ -358,7 +358,7 @@ bool TNetwork::TCPSend(TClient& c, const std::string& Data, bool IsSync) {
|
||||
Sent = 0;
|
||||
Size += 4;
|
||||
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 (c.GetStatus() > -1)
|
||||
c.SetStatus(-1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user