poll-loop: Ignore 'wevent' in poll_fd_wait_at() on non-Windows.
authorBen Pfaff <blp@nicira.com>
Wed, 4 Jun 2014 22:47:16 +0000 (15:47 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 5 Jun 2014 18:36:57 +0000 (11:36 -0700)
commit6fe0610cf39fe0dc3fc1b11c5cef8afa4eb800c9
tree36607f5b57db4b3c6130c07a21cc8ea21779795e
parent9be5ee6614ce239f40e70d7af8c466115068cbba
poll-loop: Ignore 'wevent' in poll_fd_wait_at() on non-Windows.

'wevent' isn't actually used on non-Windows systems, but poll_fd_wait_at()
and find_poll_node() treat events with different 'wevent' as different, so
it seems better to make sure that 'wevent' doesn't matter.

Alternatively, one could ovs_assert(!wevent).  I guess that would catch
a caller accidentally swapping the 'fd' and 'wevent' arguments.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Gurucharan Shetty <gshetty@nicira.com>
lib/poll-loop.c