mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
libevent: fix typo in signal handler
https://github.com/warmcat/libwebsockets/issues/2095
This commit is contained in:
parent
513b6834ca
commit
02f8c01fed
1 changed files with 1 additions and 1 deletions
|
@ -158,7 +158,7 @@ void
|
|||
lws_event_sigint_cb(evutil_socket_t sock_fd, short revents, void *ctx)
|
||||
{
|
||||
struct lws_context_per_thread *pt = ctx;
|
||||
struct event *signal = (struct event *)ctx;
|
||||
struct event *signal = pt_to_priv_event(pt)->w_sigint.watcher;
|
||||
|
||||
if (pt->context->eventlib_signal_cb) {
|
||||
pt->context->eventlib_signal_cb((void *)(lws_intptr_t)sock_fd,
|
||||
|
|
Loading…
Add table
Reference in a new issue