diff --git a/SocketIOClient.cpp b/SocketIOClient.cpp index af917f5..9f729a4 100644 --- a/SocketIOClient.cpp +++ b/SocketIOClient.cpp @@ -154,10 +154,13 @@ bool SocketIOClient::monitor() { if (index != -1) { parser(index); + return 1; + } if (index2 != -1) { parser(index2); + return 1; } } }