Skip to content

Commit

Permalink
Fix: sockets without events properly skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Borges committed Apr 3, 2011
1 parent 1fe7679 commit 9ef39a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/poll.c
Expand Up @@ -99,6 +99,7 @@ CAMLprim value caml_zmq_poll(value poll, value timeout) {
Store_field(curr_elem, 0, caml_zmq_copy_socket(items[j].socket));
Store_field(curr_elem, 1, CAML_ZMQ_Val_mask(items[j].revents));
Store_field(poll_itemarray, i, curr_elem);
j++;
}
}

Expand Down

0 comments on commit 9ef39a7

Please sign in to comment.