VirtualBox

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


Ignore:
Timestamp:
Nov 13, 2008 8:49:30 AM (16 years ago)
Author:
vboxsync
Message:

removing all references to cEvent from polling routine

File:
1 edited

Legend:

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

    r14160 r14161  
    366366     * 1st event for drvNATSend() */
    367367    int cElements;
    368     int cEvents = 1;
    369368#endif
    370369
     
    406405                           continue;
    407406
    408 #if defined(VBOX_WITH_SIMPLEFIED_SLIRP_SYNC) && defined(RT_OS_WINDOWS)
    409                         AssertRelease(cEvents < pData->cMaxEvent);
    410 #endif
    411407                        /*
    412408                         * Set for reading sockets which are accepting
     
    501497                                UPD_NFDS(so->s);
    502498#else
    503                                 AssertRelease(cEvents < pData->cMaxEvent);
    504499                                rc = WSAEventSelect(so->s, so->hNetworkEvent, FD_READ|FD_WRITE|FD_OOB|FD_ACCEPT);
    505500                                AssertRelease(rc != SOCKET_ERROR);
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