VirtualBox

Changeset 49330 in vbox for trunk


Ignore:
Timestamp:
Oct 30, 2013 5:53:36 AM (11 years ago)
Author:
vboxsync
Message:

NetworkServices/proxy.c: removes annoying asserts on darwin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/proxy.c

    r49249 r49330  
    380380proxy_reset_socket(SOCKET s)
    381381{
    382     int rc;
    383382    struct linger linger;
    384383
     
    393392     * http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4468997
    394393     */
    395     rc = setsockopt(s, SOL_SOCKET, SO_LINGER, (char *)&linger, sizeof(linger));
    396     AssertReturnVoid(rc != SOCKET_ERROR);
    397 
    398     rc = closesocket(s);
    399     AssertReturnVoid(rc != SOCKET_ERROR);
     394    setsockopt(s, SOL_SOCKET, SO_LINGER, (char *)&linger, sizeof(linger));
     395   
     396    closesocket(s);
    400397}
    401398
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