Changeset 23377 in vbox for trunk/src/VBox
- Timestamp:
- Sep 28, 2009 1:35:07 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/socket.c
r23369 r23377 576 576 #endif 577 577 int rc = 0; 578 static int signal ed = 0;578 static int signalled = 0; 579 579 580 580 QSOCKET_LOCK(udb); … … 608 608 return; 609 609 } 610 if (rc == -1 && signal ed == 0)610 if (rc == -1 && signalled == 0) 611 611 { 612 612 LogRel(("NAT: can't fetch amount of bytes on socket %R[natsock], so message will be truncated.\n", so)); 613 signal ed = 1;613 signalled = 1; 614 614 m_free(pData, m); 615 615 return; … … 635 635 */ 636 636 rc = ioctlsocket(so->s, FIONREAD, &n); 637 if (rc == -1 && signal ed == 0)637 if (rc == -1 && signalled == 0) 638 638 { 639 639 LogRel(("NAT: can't fetch amount of bytes on socket %R[natsock], so message will be truncated.\n", so)); 640 signal ed = 1;640 signalled = 1; 641 641 } 642 642
Note:
See TracChangeset
for help on using the changeset viewer.