diff --git a/lib/service.c b/lib/service.c index d06bba13..7b7a4fb6 100644 --- a/lib/service.c +++ b/lib/service.c @@ -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 */ }