Changeset 14792 in vbox for trunk/src/VBox
- Timestamp:
- Nov 28, 2008 4:50:05 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/socket.c
r14684 r14792 160 160 #endif 161 161 if (nn <= 0) { 162 if (nn < 0 && (errno == EINTR || errno == EAGAIN ))162 if (nn < 0 && (errno == EINTR || errno == EAGAIN || errno == EWOULDBLOCK)) 163 163 return 0; 164 164 else { … … 345 345 #endif 346 346 /* This should never happen, but people tell me it does *shrug* */ 347 if (nn < 0 && (errno == EAGAIN || errno == EINTR ))347 if (nn < 0 && (errno == EAGAIN || errno == EINTR || errno == EWOULDBLOCK)) 348 348 return 0; 349 349
Note:
See TracChangeset
for help on using the changeset viewer.