mirror of
https://github.com/zeromq/libzmq.git
synced 2025-02-23 23:16:41 +01:00
Fix zmq::select_t::loop formatting
This commit is contained in:
parent
d5198693e8
commit
04761133bf
@ -373,10 +373,9 @@ void zmq::select_t::loop ()
|
|||||||
// http://stackoverflow.com/q/35043420/188530
|
// http://stackoverflow.com/q/35043420/188530
|
||||||
if (FD_ISSET (fd, &family_entry.fds_set.read)
|
if (FD_ISSET (fd, &family_entry.fds_set.read)
|
||||||
&& FD_ISSET (fd, &family_entry.fds_set.write))
|
&& FD_ISSET (fd, &family_entry.fds_set.write))
|
||||||
rc =
|
rc = WSAEventSelect (fd, wsa_events.events[3],
|
||||||
WSAEventSelect (fd, wsa_events.events[3],
|
FD_READ | FD_ACCEPT | FD_CLOSE
|
||||||
FD_READ | FD_ACCEPT | FD_CLOSE
|
| FD_WRITE | FD_CONNECT);
|
||||||
| FD_WRITE | FD_CONNECT);
|
|
||||||
else if (FD_ISSET (fd, &family_entry.fds_set.read))
|
else if (FD_ISSET (fd, &family_entry.fds_set.read))
|
||||||
rc = WSAEventSelect (fd, wsa_events.events[0],
|
rc = WSAEventSelect (fd, wsa_events.events[0],
|
||||||
FD_READ | FD_ACCEPT | FD_CLOSE);
|
FD_READ | FD_ACCEPT | FD_CLOSE);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user