Skip to content

Commit be479cb

Browse files
committed
Koi figured out that I'm stupid.
1 parent 17393e0 commit be479cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SerialPrograms/Source/NintendoSwitch/Controllers/SysbotBase/SysbotBase_Connection.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ void TcpSysbotBase_Connection::process_message(const std::string& message, WallC
245245

246246
size_t pos = str.find("ping");
247247
if (pos != std::string::npos){
248-
const char* ptr = &str[pos];
248+
const char* ptr = &str[pos + 4];
249249
while (true){
250250
char ch = ptr[0];
251251
if (ch < 32 || ch == ' ' || ch == '\t'){

0 commit comments

Comments
 (0)