From 76a7d0218da4d7a07570cab38fb32b327edb0740 Mon Sep 17 00:00:00 2001 From: MarcEricMartel Date: Fri, 27 Oct 2023 15:47:34 -0400 Subject: [PATCH] Who knows?! --- SQCSim2021/connector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQCSim2021/connector.cpp b/SQCSim2021/connector.cpp index c7451e7..b76127e 100644 --- a/SQCSim2021/connector.cpp +++ b/SQCSim2021/connector.cpp @@ -113,7 +113,7 @@ int Connector::Connect(const char* srv_addr, std::string name) { //std::cout << "Packet invalide." << std::endl; break; } - currbuf = &currbuf[curr]; + currbuf = &currbuf[curr + 1]; bytes -= curr; if (errors > 100) return 1;