From ab8924646749da6ab70e43dd384290f55165eb1e Mon Sep 17 00:00:00 2001 From: Silas Parker Date: Tue, 28 Feb 2017 18:29:57 +0800 Subject: [PATCH] cosmetic fix trailing newline on log --- lib/libwebsockets.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index 3e3bbbd07..a2d8328ae 100755 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c @@ -552,7 +552,7 @@ just_kill_connection: (wsi->mode == LWSCM_WS_SERVING && wsi->state_pre_close == LWSS_HTTP))) { if (wsi->user_space) { - lwsl_debug("%s: doing LWS_CALLBACK_HTTP_DROP_PROTOCOL for %p prot %s", __func__, wsi, wsi->protocol->name); + lwsl_debug("%s: doing LWS_CALLBACK_HTTP_DROP_PROTOCOL for %p prot %s\n", __func__, wsi, wsi->protocol->name); wsi->protocol->callback(wsi, LWS_CALLBACK_HTTP_DROP_PROTOCOL, wsi->user_space, NULL, 0); @@ -1147,7 +1147,7 @@ lws_get_protocol(struct lws *wsi) LWS_VISIBLE int lws_is_final_fragment(struct lws *wsi) { - lwsl_info("%s: final %d, rx pk length %ld, draining %ld", __func__, + lwsl_info("%s: final %d, rx pk length %ld, draining %ld\n", __func__, wsi->u.ws.final, (long)wsi->u.ws.rx_packet_length, (long)wsi->u.ws.rx_draining_ext); return wsi->u.ws.final && !wsi->u.ws.rx_packet_length && !wsi->u.ws.rx_draining_ext;