mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
NO_SERVER_fix cosmetic warning
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
a38a8cf8d1
commit
a349367a0b
1 changed files with 3 additions and 0 deletions
|
@ -566,6 +566,9 @@ drain:
|
|||
lwsl_info("flow buffer: drained\n");
|
||||
lws_free2(wsi->rxflow_buffer);
|
||||
/* having drained the rxflow buffer, can rearm POLLIN */
|
||||
#ifdef LWS_NO_SERVER
|
||||
n =
|
||||
#endif
|
||||
_libwebsocket_rx_flow_control(wsi); /* n ignored, needed for NO_SERVER case */
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue