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;