VirtualBox

Changeset 14794 in vbox


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

slirp: fixed error handling

File:
1 edited

Legend:

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

    r14792 r14794  
    348348                return 0;
    349349
    350         if (nn <= 0) {
     350        if (nn < 0 || (nn == 0 && iov[0].iov_len > 0)) {
    351351                DEBUG_MISC((dfd, " --- sowrite disconnected, so->so_state = %x, errno = %d\n",
    352352                        so->so_state, errno));
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