Skip to content
Snippets Groups Projects
Commit a2a4b0b0 authored by Thomas Greenslade's avatar Thomas Greenslade Committed by Andy Green
Browse files
parent b9f28ac8
No related branches found
No related tags found
No related merge requests found
...@@ -148,9 +148,9 @@ lws_plat_service(struct libwebsocket_context *context, int timeout_ms) ...@@ -148,9 +148,9 @@ lws_plat_service(struct libwebsocket_context *context, int timeout_ms)
wsi = context->pending_read_list; wsi = context->pending_read_list;
while (wsi) { while (wsi) {
wsi_next = wsi->pending_read_list_next; wsi_next = wsi->pending_read_list_next;
context->fds[wsi->sock].revents |= context->fds[wsi->position_in_fds_table].revents |=
context->fds[wsi->sock].events & POLLIN; context->fds[wsi->position_in_fds_table].events & POLLIN;
if (context->fds[wsi->sock].revents & POLLIN) { if (context->fds[wsi->position_in_fds_table].revents & POLLIN) {
/* /*
* he's going to get serviced now, take him off the * he's going to get serviced now, take him off the
* list of guys with buffered SSL. If he still has some * list of guys with buffered SSL. If he still has some
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment