From b0cdc05b6b58f4eec51874c517a3b1a71db188b3 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sat, 28 Aug 2021 07:38:25 +0100 Subject: [PATCH] h1: remove lwsl_wsi_err --- lib/roles/h1/ops-h1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/roles/h1/ops-h1.c b/lib/roles/h1/ops-h1.c index 1b5ea6653..bd3a200dd 100644 --- a/lib/roles/h1/ops-h1.c +++ b/lib/roles/h1/ops-h1.c @@ -750,7 +750,7 @@ rops_handle_POLLOUT_h1(struct lws *wsi) return LWS_HP_RET_DROP_POLLOUT; } - lwsl_wsi_err(wsi, "nothing to send"); + lwsl_err("%s: nothing to send\n", __func__); #if defined(LWS_ROLE_H1) || defined(LWS_ROLE_H2) /* prepare ourselves to do the parsing */ wsi->http.ah->parser_state = WSI_TOKEN_NAME_PART;