Ignore:
Timestamp:
May 20, 2016 4:17:00 AM (8 years ago)
Author:
ming
Message:

Re #1922: Replace IPv4 specific APIs as per Apple's recommendations

https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW27

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c

    r5308 r5311  
    20572057 
    20582058    if (pjsua_var.stun_srv.addr.sa_family != 0) { 
    2059         pj_ansi_strcpy(stun_ip_addr,pj_inet_ntoa(pjsua_var.stun_srv.ipv4.sin_addr)); 
     2059        pj_sockaddr_print(&pjsua_var.stun_srv, 
     2060                          stun_ip_addr, sizeof(stun_ip_addr), 0); 
    20602061        stun_srv = pj_str(stun_ip_addr); 
    20612062    } else { 
Note: See TracChangeset for help on using the changeset viewer.