Changeset 5311 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
- Timestamp:
- May 20, 2016 4:17:00 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r5307 r5311 360 360 pjstun_setting stun_opt; 361 361 362 pj_ansi_strcpy(ip_addr, 363 pj_inet_ntoa(pjsua_var.stun_srv.ipv4.sin_addr)); 362 pj_sockaddr_print(&pjsua_var.stun_srv, ip_addr,sizeof(ip_addr),0); 364 363 stun_srv = pj_str(ip_addr); 365 364 … … 427 426 if (status == PJ_SUCCESS) { 428 427 if (pjsua_var.stun_srv.addr.sa_family != 0) { 429 pj_ansi_strcpy(ip_addr,430 pj_inet_ntoa(pjsua_var.stun_srv.ipv4.sin_addr));428 pj_sockaddr_print(&pjsua_var.stun_srv, 429 ip_addr, sizeof(ip_addr), 0); 431 430 stun_srv = pj_str(ip_addr); 432 431 } else {
Note: See TracChangeset
for help on using the changeset viewer.