diff --git a/lib/secure-streams/secure-streams.c b/lib/secure-streams/secure-streams.c index 9af6b15f0..13dfacc47 100644 --- a/lib/secure-streams/secure-streams.c +++ b/lib/secure-streams/secure-streams.c @@ -1095,7 +1095,7 @@ lws_ss_to_cb(lws_sorted_usec_list_t *sul) if (h->wsi) lws_set_timeout(h->wsi, 1, LWS_TO_KILL_ASYNC); - _lws_ss_handle_state_ret(r, NULL, &h); + _lws_ss_handle_state_ret(r, h->wsi, &h); } void