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:
parent
6055411928
commit
2c93b25c73
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue