1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

libevent: fix cut and paste error

This commit is contained in:
Andy Green 2019-09-14 06:26:34 +01:00
parent d9a675d213
commit 55e2a3eabe

View file

@ -50,7 +50,7 @@ lws_event_idle_timer_cb(int fd, short event, void *p)
/*
* is there anybody with pending stuff that needs service forcing?
*/
if (!lws_service_adjust_timeout(pt->context, 1, pt->tid))
if (!lws_service_adjust_timeout(pt->context, 1, pt->tid)) {
/* -1 timeout means just do forced service */
_lws_plat_service_forced_tsi(pt->context, pt->tid);
/* still somebody left who wants forced service? */