remove invalid flag

This commit is contained in:
Lion Kortlepel
2024-10-13 23:42:07 +02:00
committed by Tixx
parent fd398ed5ab
commit 7d00d489e4
16 changed files with 16 additions and 2633 deletions

View File

@@ -190,7 +190,7 @@ void CoreSend(std::string data) {
if (CoreSocket != -1) {
auto ToSend = Utils::PrependHeader(data);
int res = send(CoreSocket, ToSend.data(), ToSend.size(), MSG_WAITALL);
int res = send(CoreSocket, ToSend.data(), ToSend.size(), 0);
if (res < 0) {
debug("(Core) send failed with error: " + std::to_string(WSAGetLastError()));
}
@@ -352,7 +352,7 @@ void Parse(std::string Data, SOCKET CSocket) {
}
if (!Data.empty() && CSocket != -1) {
auto ToSend = Utils::PrependHeader(Data);
int res = send(CSocket, ToSend.data(), ToSend.size(), MSG_WAITALL);
int res = send(CSocket, ToSend.data(), ToSend.size(), 0);
if (res < 0) {
debug("(Core) send failed with error: " + std::to_string(WSAGetLastError()));
}