VirtualBox

Changeset 15208 in vbox


Ignore:
Timestamp:
Dec 9, 2008 10:11:14 PM (16 years ago)
Author:
vboxsync
Message:

build fix

File:
1 edited

Legend:

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

    r15206 r15208  
    2929# ifdef VBOX_WITH_SLIRP_ICMP
    3030#  define ICMP_ENGAGE_EVENT(so, fdset)               \
    31     DO_ENGAGE_EVENT1((so), (fdset), ICMP)
     31    do {                                             \
     32        if (pData->icmp_socket.s != -1)              \
     33            DO_ENGAGE_EVENT1((so), (fdset), ICMP);   \
     34    } while (0)
    3235# else /* !VBOX_WITH_SLIRP_ICMP */
    3336#  define ICMP_ENGAGE_EVENT(so, fdset1, fdset2)      \
     
    604607        }
    605608
    606         if (pData->icmp_socket.s != -1)
    607             ICMP_ENGAGE_EVENT(&pData->icmp_socket, readfds);
     609        ICMP_ENGAGE_EVENT(&pData->icmp_socket, readfds);
    608610    }
    609611
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