1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

Subject: echo: exit if --times is specified

This commit is contained in:
Peter Pentchev 2018-03-12 22:24:05 +02:00 committed by Andy Green
parent 6055411928
commit 2c93b25c73

View file

@ -143,6 +143,8 @@ do_rx:
goto do_rx;
#endif
lwsl_notice("Client RX: %s", (char *)in);
if (times == 0)
force_exit = 1;
break;
case LWS_CALLBACK_CLIENT_WRITEABLE: