VirtualBox

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


Ignore:
Timestamp:
Nov 18, 2008 3:07:21 PM (16 years ago)
Author:
vboxsync
Message:

no need to loop here, this is already done in the function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DrvNAT.cpp

    r14206 r14305  
    355355            }
    356356            /* process _all_ outstanding requests but don't wait */
    357             while (RT_SUCCESS(RTReqProcess(pThis->pReqQueue, 0)))
    358                 ;
     357            RTReqProcess(pThis->pReqQueue, 0);
    359358        }
    360359# else /* RT_OS_WINDOWS */
     
    378377        slirp_select_poll(pThis->pNATState, &ReadFDs, &WriteFDs, &XcptFDs);
    379378        /* process _all_ outstanding requests but don't wait */
    380         while (RT_SUCCESS(RTReqProcess(pThis->pReqQueue, 0)))
    381             ;
     379        RTReqProcess(pThis->pReqQueue, 0);
    382380# endif /* RT_OS_WINDOWS */
    383381    }
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