Changeset 4294
- Timestamp:
- Nov 6, 2012 5:02:10 AM (12 years ago)
- Location:
- pjproject/trunk/pjsip/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transport_tcp.c
r4281 r4294 593 593 tcp->base.key.type = listener->factory.type; 594 594 pj_sockaddr_cp(&tcp->base.key.rem_addr, remote); 595 tcp->base.type_name = (char*) 596 pjsip_transport_get_type_name(tcp->base.key.type); 597 tcp->base.flag = pjsip_transport_get_flag_from_type(tcp->base.key.type); 595 tcp->base.type_name = (char*)pjsip_transport_get_type_name( 596 (pjsip_transport_type_e)tcp->base.key.type); 597 tcp->base.flag = pjsip_transport_get_flag_from_type( 598 (pjsip_transport_type_e)tcp->base.key.type); 598 599 599 600 tcp->base.info = (char*) pj_pool_alloc(pool, 64); -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
r4262 r4294 1606 1606 pj_ansi_snprintf(transport_param, sizeof(transport_param), 1607 1607 ";transport=%s", 1608 pjsip_transport_get_type_name(tp->key.type)); 1608 pjsip_transport_get_type_name( 1609 (pjsip_transport_type_e)tp->key.type)); 1609 1610 } else { 1610 1611 transport_param[0] = '\0'; -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_pres.c
r4229 r4294 886 886 &via_tp) == PJ_SUCCESS) 887 887 { 888 pjsip_dlg_set_via_sent_by(dlg, &via_addr, (void*)via_tp); 888 pjsip_dlg_set_via_sent_by(dlg, &via_addr, 889 (pjsip_transport*)via_tp); 889 890 } 890 891 } … … 1271 1272 { 1272 1273 pjsip_publishc_set_via_sent_by(acc->publish_sess, &via_addr, 1273 ( void*)via_tp);1274 (pjsip_transport*)via_tp); 1274 1275 } 1275 1276 } … … 1839 1840 &via_tp) == PJ_SUCCESS) 1840 1841 { 1841 pjsip_dlg_set_via_sent_by(buddy->dlg, &via_addr, (void*)via_tp); 1842 pjsip_dlg_set_via_sent_by(buddy->dlg, &via_addr, 1843 (pjsip_transport*)via_tp); 1842 1844 } 1843 1845 } … … 2180 2182 { 2181 2183 pjsip_dlg_set_via_sent_by(acc->mwi_dlg, &via_addr, 2182 ( void*)via_tp);2184 (pjsip_transport*)via_tp); 2183 2185 } 2184 2186 }
Note: See TracChangeset
for help on using the changeset viewer.