Changeset 16511 in vbox for trunk/src/VBox/Devices/Network/slirp/socket.c
- Timestamp:
- Feb 4, 2009 12:45:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/socket.c
r16504 r16511 202 202 * would be dangerous. 203 203 */ 204 int status = 0;204 int status, ignored; 205 205 unsigned long pending = 0; 206 int ignored;207 206 status = WSAIoctl(so->s, FIONREAD, NULL, 0, &pending, sizeof(unsigned long), &ignored, NULL, NULL); 208 if(status < 0) 209 { 207 if (status < 0) 210 208 Log2(("error in WSAIoctl: %d\n", WSAGetLastError())); 211 }212 209 if (nn == 0 && (pending != 0)) 213 210 {
Note:
See TracChangeset
for help on using the changeset viewer.