- Timestamp:
- Oct 30, 2013 5:53:36 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NAT/proxy.c
r49249 r49330 380 380 proxy_reset_socket(SOCKET s) 381 381 { 382 int rc;383 382 struct linger linger; 384 383 … … 393 392 * http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4468997 394 393 */ 395 rc = setsockopt(s, SOL_SOCKET, SO_LINGER, (char *)&linger, sizeof(linger)); 396 AssertReturnVoid(rc != SOCKET_ERROR); 397 398 rc = closesocket(s); 399 AssertReturnVoid(rc != SOCKET_ERROR); 394 setsockopt(s, SOL_SOCKET, SO_LINGER, (char *)&linger, sizeof(linger)); 395 396 closesocket(s); 400 397 } 401 398
Note:
See TracChangeset
for help on using the changeset viewer.