Skip to content
Snippets Groups Projects
Commit 8ab2b5af authored by Andy Green's avatar Andy Green
Browse files

coverity 83664 consistently check NULL

parent adc720df
Branches
Tags
No related merge requests found
......@@ -383,7 +383,8 @@ libwebsocket_service_fd(struct libwebsocket_context *context,
/* it was the guy we came to service! */
timed_out = 1;
/* mark as handled */
pollfd->revents = 0;
if (pollfd)
pollfd->revents = 0;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment