VirtualBox

Ignore:
Timestamp:
Feb 4, 2009 10:36:54 AM (16 years ago)
Author:
vboxsync
Message:

NAT:typo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/socket.c

    r16501 r16504  
    203203         */
    204204        int status = 0;
    205         unsigned long pended = 0;
     205        unsigned long pending = 0;
    206206        int ignored;
    207         status = WSAIoctl(so->s, FIONREAD, NULL, 0, &pended, sizeof(unsigned long), &ignored, NULL, NULL);
     207        status = WSAIoctl(so->s, FIONREAD, NULL, 0, &pending, sizeof(unsigned long), &ignored, NULL, NULL);
    208208        if(status < 0)
    209209        {
    210210            Log2(("error in WSAIoctl: %d\n", WSAGetLastError()));
    211211        }
    212         if (nn == 0 && (pended != 0))
     212        if (nn == 0 && (pending != 0))
    213213        {
    214214            SOCKET_UNLOCK(so);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette