Skip to content
Snippets Groups Projects
Commit f9030226 authored by Christopher J. Morrone's avatar Christopher J. Morrone
Browse files
parent 95e5fb9c
No related branches found
No related tags found
No related merge requests found
......@@ -290,7 +290,7 @@ _poll_handle_event(short revents, eio_obj_t *obj, List objList)
bool read_called = false;
bool write_called = false;
if (revents & POLLERR || revents & POLLNVAL) {
if (revents & (POLLERR|POLLNVAL)) {
if (obj->ops->handle_error) {
(*obj->ops->handle_error) (obj, objList);
} else if (obj->ops->handle_read) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment