Changeset 2888


Ignore:
Timestamp:
Aug 17, 2009 11:29:39 AM (15 years ago)
Author:
nanang
Message:

Ticket #946: Fixed Symbian address resolver to have PJ_HAS_IPV6 check, so it will not try to resolve IPv6 address family when IPv6 is not enabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/addr_resolv_symbian.cpp

    r2767 r2888  
    7272    PJ_ASSERT_RETURN(name && count && ai, PJ_EINVAL); 
    7373 
     74#if !defined(PJ_HAS_IPV6) || !PJ_HAS_IPV6 
     75    if (af == PJ_AF_INET6) 
     76        return PJ_EIPV6NOTSUP; 
     77#endif 
     78         
    7479    // Return failure if access point is marked as down by app. 
    7580    PJ_SYMBIAN_CHECK_CONNECTION(); 
    76          
     81 
    7782    // Get resolver for the specified address family 
    7883    RHostResolver &resv = PjSymbianOS::Instance()->GetResolver(af); 
Note: See TracChangeset for help on using the changeset viewer.