Changeset 14122 in vbox for trunk/src/VBox/Devices/Network/slirp/slirp.c
- Timestamp:
- Nov 12, 2008 8:12:08 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp.c
r14121 r14122 224 224 #ifdef VBOX_WITH_SIMPLEFIED_SLIRP_SYNC 225 225 /*XXX:probably should be configurable*/ 226 pData->cMaxEvent = 256; 226 227 pData->phEvents = malloc(sizeof(HANDLE) * pData->cMaxEvent); 227 228 #endif … … 400 401 401 402 #if defined(VBOX_WITH_SIMPLEFIED_SLIRP_SYNC) && defined(RT_OS_WINDOWS) 402 AssertRelease(cEvents >=pData->cMaxEvent);403 AssertRelease(cEvents < pData->cMaxEvent); 403 404 WSAResetEvent(so->hNetworkEvent); 404 405 #endif … … 502 503 #else 503 504 WSAResetEvent(so->hNetworkEvent); 504 AssertRelease(cEvents >=pData->cMaxEvent);505 AssertRelease(cEvents < pData->cMaxEvent); 505 506 rc = WSAEventSelect(so->s, so->hNetworkEvent, FD_READ|FD_WRITE|FD_OOB|FD_ACCEPT); 506 507 AssertRelease(rc != SOCKET_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.