pdhborges/ocaml-zmq — pull request #6 by little-arhat (2012-09-16 22:36:03+00:00)
Title: Fix typo in caml_zmq_get_events

Use event_type instead of event.
Events is a value received from zmq_getsockopt and it may be
arbitrary. Event_type is calculated value, corresponding to event type
in ZMQ.ml .
Current implementation only works because ZMQ_POLLIN=1 and ZMQ_POLLOUT=2,
so event and event_type equal each other.