diff options
author | Martin Lucina <mato@kotelna.sk> | 2010-08-07 21:04:30 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-08-25 15:39:20 +0200 |
commit | ee1f1af0091d9bdffa0e5ce1783da925b3cd7e56 (patch) | |
tree | 3fd4b1a590ccc2a3b6075f4da7a91d20ae80f4d2 /src/ip.hpp | |
parent | a85d1e51bff991a0d2f93ded2724e0ee290edf12 (diff) |
zmq_poll(): Fix some corner cases
Trying to optimize out the case where items_[i]. events is 0 would
result in a bogus pollfds[i]. Similarly in the select()-based impl,
while not strictly necessary it's better to get ZMQ_FD even if
events is 0 since that detects ETERM and friends.
Diffstat (limited to 'src/ip.hpp')
0 files changed, 0 insertions, 0 deletions