Changeset 31097 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Jul 26, 2010 8:59:43 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 64049
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/slirp_state.h
r30016 r31097 469 469 rc = RTReqCallVoid((data)->pReqQueue, &pReq, 0 /*cMillies*/, \ 470 470 (PFNRT)tcp_output 2, data, sotcb); \ 471 if (RT_LIKELY(rc ) == VERR_TIMEOUT) \471 if (RT_LIKELY(rc == VERR_TIMEOUT)) \ 472 472 { \ 473 473 SOCKET_UNLOCK(so); \ … … 496 496 rc = RTReqCallVoid((data)->pReqQueue, &pReq, 0 /*cMillies*/, \ 497 497 (PFNRT)tcp_connect, 2, data, so); \ 498 if (RT_LIKELY(rc ) == VERR_TIMEOUT) \498 if (RT_LIKELY(rc == VERR_TIMEOUT)) \ 499 499 { \ 500 500 SOCKET_UNLOCK(so); \ … … 515 515 (PFNRT)soread_queue, 4, \ 516 516 data, so, ifclose, &(ret)); \ 517 if (RT_LIKELY(rc ) == VERR_TIMEOUT) \517 if (RT_LIKELY(rc == VERR_TIMEOUT)) \ 518 518 { \ 519 519 SOCKET_UNLOCK(so); \ … … 533 533 rc = RTReqCall((data)->pReqQueue, &pReq, 0 /*cMillies*/, \ 534 534 (PFNRT)sowrite, 2, data, so); \ 535 if (RT_LIKELY(rc ) == VERR_TIMEOUT) \535 if (RT_LIKELY(rc == VERR_TIMEOUT)) \ 536 536 { \ 537 537 SOCKET_UNLOCK(so); \ … … 551 551 rc = RTReqCallVoid((data)->pReqQueue, &pReq, 0 /*cMillies */, \ 552 552 (PFNRT)sorecvfrom, 2, data, so); \ 553 if (RT_LIKELY(rc ) == VERR_TIMEOUT) \553 if (RT_LIKELY(rc == VERR_TIMEOUT)) \ 554 554 { \ 555 555 SOCKET_UNLOCK(so); \ … … 569 569 rc = RTReqCallVoid((data)->pReqQueue, &pReq, 0 /* cMillies*/, \ 570 570 (PFNRT)udp_detach, 2, data, so); \ 571 if (RT_LIKELY(rc ) == VERR_TIMEOUT) \571 if (RT_LIKELY(rc == VERR_TIMEOUT)) \ 572 572 { \ 573 573 SOCKET_UNLOCK(so); \
Note:
See TracChangeset
for help on using the changeset viewer.