VirtualBox

Changeset 14792 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 28, 2008 4:50:05 PM (16 years ago)
Author:
vboxsync
Message:

slirp: missing error code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/socket.c

    r14684 r14792  
    160160#endif
    161161        if (nn <= 0) {
    162                 if (nn < 0 && (errno == EINTR || errno == EAGAIN))
     162                if (nn < 0 && (errno == EINTR || errno == EAGAIN || errno == EWOULDBLOCK))
    163163                        return 0;
    164164                else {
     
    345345#endif
    346346        /* 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))
    348348                return 0;
    349349
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette