- Timestamp:
- Nov 28, 2013 8:35:07 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NAT/proxy.c
r49606 r49708 409 409 #ifndef RT_OS_WINDOWS 410 410 struct msghdr mh; 411 ssize_t nsent; 411 412 #else 413 DWORD nsent; 412 414 int rc; 413 415 #endif … … 416 418 IOVEC *dyniov; /* dynamically sized */ 417 419 IOVEC *iov; 418 ssize_t nsent;419 420 420 421 /* … … 459 460 } 460 461 #else 461 rc = WSASendTo(sock, iov, (DWORD)clen, (DWORD *)&nsent, 0, name, (int)namelen, NULL, NULL); 462 rc = WSASendTo(sock, iov, (DWORD)clen, &nsent, 0, 463 name, (int)namelen, NULL, NULL); 462 464 if (rc == SOCKET_ERROR) { 463 465 DPRINTF(("%s: fd %d: sendmsg errno %d\n",
Note:
See TracChangeset
for help on using the changeset viewer.