Changeset 48437 in vbox for trunk/src/VBox/NetworkServices
- Timestamp:
- Sep 11, 2013 5:09:50 PM (11 years ago)
- Location:
- trunk/src/VBox/NetworkServices/NAT
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NAT/fwtcp.c
r48001 r48437 308 308 struct fwtcp *fwtcp = (struct fwtcp *)arg; 309 309 struct pxtcp *pxtcp; 310 err_t error;310 u32_t timo; 311 311 312 312 if (!sys_mbox_valid(&fwtcp->connmbox)) { … … 315 315 316 316 pxtcp = NULL; 317 error= sys_mbox_tryfetch(&fwtcp->connmbox, (void **)&pxtcp);318 if ( error != ERR_OK) {317 timo = sys_mbox_tryfetch(&fwtcp->connmbox, (void **)&pxtcp); 318 if (timo == SYS_MBOX_EMPTY) { 319 319 return; 320 320 } -
trunk/src/VBox/NetworkServices/NAT/pxudp.c
r48001 r48437 627 627 { 628 628 struct pbuf *p; 629 u32_t timo; 629 630 err_t error; 630 631 … … 633 634 } 634 635 635 error= sys_mbox_tryfetch(&pxudp->inmbox, (void **)&p);636 if ( error != ERR_OK) {636 timo = sys_mbox_tryfetch(&pxudp->inmbox, (void **)&p); 637 if (timo == SYS_MBOX_EMPTY) { 637 638 return; 638 639 }
Note:
See TracChangeset
for help on using the changeset viewer.