Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 9, 2010, 5:02:16 PM (15 years ago)
Author:
rgrieder
Message:

Compile ENet as C library.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ipv6/src/external/enet/host.c

    r7389 r7391  
    5353    ENetHost * host;
    5454    ENetPeer * currentPeer;
     55    int family;
    5556
    5657    if (peerCount > ENET_PROTOCOL_MAXIMUM_PEER_ID)
     
    7071    memset (host -> peers, 0, peerCount * sizeof (ENetPeer));
    7172
    72     int family = (address == NULL || !memcmp (& address -> host, & ENET_HOST_ANY, sizeof (ENetHostAddress))) ?
     73    family = (address == NULL || !memcmp (& address -> host, & ENET_HOST_ANY, sizeof (ENetHostAddress))) ?
    7374        ENET_IPV4 | ENET_IPV6 :
    7475        enet_get_address_family (address);
Note: See TracChangeset for help on using the changeset viewer.