Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 31, 2010, 6:13:21 PM (15 years ago)
Author:
adrfried
Message:

some compatability changes for ipv6-patched enet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ipv6/src/libraries/network/LANDiscoverable.cc

    r7294 r7295  
    6464    if( bActive )
    6565    {
    66       ENetAddress bindAddress = { ENET_HOST_ANY, LAN_DISCOVERY_PORT };
     66      ENetAddress bindAddress;
     67      memset(& bindAddress, 0, sizeof(ENetAddress));
     68      bindAddress.host = ENET_HOST_ANY;
     69      bindAddress.port = LAN_DISCOVERY_PORT;
    6770      assert( this->host_ == 0 );
    6871      this->host_ = enet_host_create( &bindAddress, 10, 0, 0, 0 );
Note: See TracChangeset for help on using the changeset viewer.