Changeset 5311 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.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_acc.c
r5308 r5311 3032 3032 pj_in6_addr dummy6; 3033 3033 3034 /* First check with inet_aton()*/3035 if (pj_inet_ aton(host, &dummy) > 0)3034 /* First check if this is an IPv4 address */ 3035 if (pj_inet_pton(pj_AF_INET(), host, &dummy) == PJ_SUCCESS) 3036 3036 return 4; 3037 3037
Note: See TracChangeset
for help on using the changeset viewer.