mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
fix missing cr from closing log
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
3ad2ecfbd8
commit
0878b9ed05
1 changed files with 1 additions and 1 deletions
|
@ -943,7 +943,7 @@ libwebsocket_service_fd(struct libwebsocket_context *context,
|
||||||
wsi->state == WSI_STATE_ESTABLISHED)
|
wsi->state == WSI_STATE_ESTABLISHED)
|
||||||
if (lws_handle_POLLOUT_event(context, wsi,
|
if (lws_handle_POLLOUT_event(context, wsi,
|
||||||
pollfd) < 0) {
|
pollfd) < 0) {
|
||||||
lwsl_info("libwebsocket_service_fd: closing");
|
lwsl_info("libwebsocket_service_fd: closing\n");
|
||||||
libwebsocket_close_and_free_session(
|
libwebsocket_close_and_free_session(
|
||||||
context, wsi, LWS_CLOSE_STATUS_NORMAL);
|
context, wsi, LWS_CLOSE_STATUS_NORMAL);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue