VirtualBox

Changeset 23377 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 28, 2009 1:35:07 PM (15 years ago)
Author:
vboxsync
Message:

NAT: signaled/signalled

File:
1 edited

Legend:

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

    r23369 r23377  
    576576#endif
    577577        int rc = 0;
    578         static int signaled = 0;
     578        static int signalled = 0;
    579579
    580580        QSOCKET_LOCK(udb);
     
    608608                return;
    609609            }
    610             if (rc == -1 && signaled == 0)
     610            if (rc == -1 && signalled == 0)
    611611            {
    612612                LogRel(("NAT: can't fetch amount of bytes on socket %R[natsock], so message will be truncated.\n", so));
    613                 signaled = 1;
     613                signalled = 1;
    614614                m_free(pData, m);
    615615                return;
     
    635635        */
    636636        rc = ioctlsocket(so->s, FIONREAD, &n);
    637         if (rc == -1 && signaled == 0)
     637        if (rc == -1 && signalled == 0)
    638638        {
    639639            LogRel(("NAT: can't fetch amount of bytes on socket %R[natsock], so message will be truncated.\n", so));
    640             signaled = 1;
     640            signalled = 1;
    641641        }
    642642
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