Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 12, 2010, 10:15:40 PM (14 years ago)
Author:
adrfried
Message:

use the structs itself instead of typedefs

also dropped the superfluous AI_NUMERICSERV

File:
1 edited

Legend:

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

    r7397 r7433  
    146146
    147147    memset(& hints, 0, sizeof (hints));
    148     hints.ai_flags = AI_NUMERICSERV | AI_ADDRCONFIG;
     148    hints.ai_flags = AI_ADDRCONFIG;
    149149    hints.ai_family = AF_UNSPEC;
    150150
     
    282282
    283283    result = accept (socket,
    284                      address != NULL ? (struct sockaddr *) & sin : NULL, 
     284                     address != NULL ? (struct sockaddr *) & sin : NULL,
    285285                     address != NULL ? & sinLength : NULL);
    286286
     
    294294
    295295    return result;
    296 } 
    297    
     296}
     297
    298298void
    299299enet_socket_destroy (ENetSocket socket)
Note: See TracChangeset for help on using the changeset viewer.