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