Changeset 6021
- Timestamp:
- May 31, 2019 10:13:40 AM (5 years ago)
- Location:
- pjproject/trunk/pjsip/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transport.c
r6002 r6021 1223 1223 pj_lock_release(mgr->lock); 1224 1224 1225 TRACE_((THIS_FILE,"Transport %s registered: type=%s, remote=%s:%d", 1226 tp->obj_name, 1227 pjsip_transport_get_type_name(tp->key.type), 1228 addr_string(&tp->key.rem_addr), 1229 pj_sockaddr_get_port(&tp->key.rem_addr))); 1225 TRACE_((THIS_FILE, "Transport %s registered: type=%s, remote=%s:%d", 1226 tp->obj_name, 1227 pjsip_transport_get_type_name(tp->key.type), 1228 pj_sockaddr_has_addr(&tp->key.rem_addr)? 1229 addr_string(&tp->key.rem_addr):"", 1230 pj_sockaddr_has_addr(&tp->key.rem_addr)? 1231 pj_sockaddr_get_port(&tp->key.rem_addr):0)); 1230 1232 1231 1233 return PJ_SUCCESS; -
pjproject/trunk/pjsip/src/pjsip/sip_transport_loop.c
r6002 r6021 377 377 goto on_error; 378 378 loop->base.key.type = PJSIP_TRANSPORT_LOOP_DGRAM; 379 loop->base.key.rem_addr.addr.sa_family = pj_AF_INET();379 //loop->base.key.rem_addr.addr.sa_family = pj_AF_INET(); 380 380 loop->base.type_name = "LOOP-DGRAM"; 381 381 loop->base.info = "LOOP-DGRAM"; -
pjproject/trunk/pjsip/src/test/transport_loop_test.c
r3553 r6021 37 37 PJ_LOG(3,(THIS_FILE, "testing datagram loop transport")); 38 38 39 pj_sockaddr_in_init(&addr, NULL, 0); 39 40 /* Test acquire transport. */ 40 41 status = pjsip_endpt_acquire_transport( endpt, PJSIP_TRANSPORT_LOOP_DGRAM,
Note: See TracChangeset
for help on using the changeset viewer.