Changeset 41229 in vbox
- Timestamp:
- May 10, 2012 7:22:23 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.c
r41178 r41229 165 165 DO_ENGAGE_EVENT1((so), (fdset1), label) 166 166 167 # define DO_POLL_EVENTS(rc, error, so, events, label) \ 168 (rc) = WSAEnumNetworkEvents((so)->s, VBOX_SOCKET_EVENT, (events)); \ 169 if ((rc) == SOCKET_ERROR) \ 170 { \ 171 (error) = WSAGetLastError(); \ 172 LogRel(("WSAEnumNetworkEvents " #label " error %d\n", (error))); \ 173 CONTINUE(label); \ 167 # define DO_POLL_EVENTS(rc, error, so, events, label) \ 168 (rc) = WSAEnumNetworkEvents((so)->s, VBOX_SOCKET_EVENT, (events)); \ 169 if ((rc) == SOCKET_ERROR) \ 170 { \ 171 (error) = WSAGetLastError(); \ 172 LogRel(("WSAEnumNetworkEvents %R[natsock] " #label " error %d\n", (so), (error))); \ 173 LogFunc(("WSAEnumNetworkEvents %R[natsock] " #label " error %d\n", (so), (error))); \ 174 CONTINUE(label); \ 174 175 } 175 176
Note:
See TracChangeset
for help on using the changeset viewer.