do not discard unsent messages when log server has closed connection, instead try to send them after reconnect

This commit is contained in:
2019-08-28 09:29:57 +02:00
parent 5f547257ac
commit 4942da0c88

View File

@@ -85,8 +85,6 @@ static void logClientClose ( logClient *pClient )
pClient->sock = INVALID_SOCKET;
}
pClient->nextMsgIndex = 0u;
memset ( pClient->msgBuf, '\0', sizeof ( pClient->msgBuf ) );
pClient->connected = 0u;
/*