VirtualBox

Changeset 14925 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Dec 2, 2008 8:34:41 PM (16 years ago)
Author:
vboxsync
Message:

reverted r40251

File:
1 edited

Legend:

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

    r14906 r14925  
    162162                if (nn < 0 && (errno == EINTR || errno == EAGAIN || errno == EWOULDBLOCK))
    163163                        return 0;
    164                 else if (nn == 0)
    165                         return 0; /* Windows: this is no error, just handle this like EWOULDBLOCK. */
    166164                else {
     165                        /* nn == 0 means peer has performed an orderly shutdown */
    167166                        DEBUG_MISC((dfd, " --- soread() disconnected, nn = %d, errno = %d-%s\n", nn, errno,strerror(errno)));
    168167                        sofcantrcvmore(so);
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