fix: linux tester

This commit is contained in:
Talyx
2022-02-10 00:36:34 +03:00
parent adbe832b98
commit 9b3b3bebca
4 changed files with 19 additions and 25 deletions

View File

@@ -104,7 +104,7 @@ void Server::readSocket(Client &client, int fd)
/* else if (bytes_read == -1) */
/* throw std::logic_error("JOPA CLIENTU"); */
// buf[bytes_read + 1] = '\0';
DBOUT << stringBUF << ENDL;
// DBOUT << stringBUF << ENDL;
stringBUF.erase(bytes_read, stringBUF.size());
/* DBOUT << "after erase" <<ENDL; */
/* DBOUT << stringBUF << ENDL; */