From ef6bebda3c188bc114ae90cb7d501b75dbadc292 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sun, 27 Dec 2020 19:35:18 +0000 Subject: [PATCH] lws_wsi_close: fix wsi name --- include/libwebsockets/lws-timeout-timer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libwebsockets/lws-timeout-timer.h b/include/libwebsockets/lws-timeout-timer.h index 24d926adc..6fd6a0e97 100644 --- a/include/libwebsockets/lws-timeout-timer.h +++ b/include/libwebsockets/lws-timeout-timer.h @@ -114,7 +114,7 @@ void lws_set_timeout_us(struct lws *wsi, enum pending_timeout reason, lws_usec_t us); /* helper for clearer LWS_TO_KILL_ASYNC / LWS_TO_KILL_SYNC usage */ -#define lws_wsi_close(w, to_kill) lws_set_timeout(wsi, 1, to_kill) +#define lws_wsi_close(w, to_kill) lws_set_timeout(w, 1, to_kill) #define LWS_SET_TIMER_USEC_CANCEL ((lws_usec_t)-1ll)