Changeset 2886 for pjproject/trunk


Ignore:
Timestamp:
Aug 17, 2009 10:10:31 AM (15 years ago)
Author:
bennylp
Message:

More #935: don't call pj_sockaddr_init() for PJ_AF_INET6 if IPv6 is not enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/sock_common.c

    r2863 r2886  
    641641        return status; 
    642642     
     643#if !defined(PJ_HAS_IPV6) || !PJ_HAS_IPV6 
     644    if (af==PJ_AF_INET6) 
     645        return PJ_EIPV6NOTSUP; 
     646#endif 
     647 
    643648    status = pj_sockaddr_init(af, addr, &hostpart, port); 
    644649#if defined(PJ_HAS_IPV6) && PJ_HAS_IPV6 
Note: See TracChangeset for help on using the changeset viewer.