VirtualBox

Changeset 31122 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jul 26, 2010 4:31:35 PM (14 years ago)
Author:
vboxsync
Message:

IPRT/Sockets: Fix switch to blocking mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/socket.cpp

    r31121 r31122  
    270270                fFlags |= O_NONBLOCK;
    271271
    272             if (fcntl(pThis->hNative, F_SETFL, fFlags & ~O_NONBLOCK) == -1)
     272            if (fcntl(pThis->hNative, F_SETFL, fFlags) == -1)
    273273                rc = rtSocketError();
    274274        }
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