diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-12-29 16:50:28 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-12-29 16:50:28 +0100 |
commit | 102077471c5863242b5e9a2e063e272edd5b48ea (patch) | |
tree | f85c3e773fda24a256f7a700a93add1e7f17b189 | |
parent | e9cebc86ed8eeff2cc5dde49807a4851b43d1232 (diff) |
error in zmq_poll manpage fixed
-rw-r--r-- | man/man3/zmq_poll.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man/man3/zmq_poll.3 b/man/man3/zmq_poll.3 index 5ce5055..9782691 100644 --- a/man/man3/zmq_poll.3 +++ b/man/man3/zmq_poll.3 @@ -51,10 +51,10 @@ there's a 0MQ socket in the pollset belonging to a different application thread. .nf zmq_pollitem_t items [2]; items [0].socket = s; -items [0].events = POLLIN; +items [0].events = ZMQ_POLLIN; items [1].socket = NULL; items [1].fd = my_fd; -items [1].events = POLLIN; +items [1].events = ZMQ_POLLIN; int rc = zmq_poll (items, 2); assert (rc != -1); |