- Timestamp:
- May 11, 2012 8:41:28 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x/pjsip/src/pjsua-lib/pjsua_core.c
r3883 r4119 2082 2082 PJSUA_LOCK(); 2083 2083 2084 if ( pjsua_var.tpdata[id].type == PJSIP_TRANSPORT_UDP) {2084 if (t->type == PJSIP_TRANSPORT_UDP) { 2085 2085 2086 2086 pjsip_transport *tp = t->data.tp; … … 2103 2103 status = PJ_SUCCESS; 2104 2104 2105 } else if (pjsua_var.tpdata[id].type == PJSIP_TRANSPORT_TCP) { 2105 } else if (t->type == PJSIP_TRANSPORT_TCP || 2106 t->type == PJSIP_TRANSPORT_TLS) 2107 { 2106 2108 2107 2109 pjsip_tpfactory *factory = t->data.factory; … … 2114 2116 info->id = id; 2115 2117 info->type = t->type; 2116 info->type_name = pj_str("TCP"); 2117 info->info = pj_str("TCP transport"); 2118 info->type_name = (t->type==PJSIP_TRANSPORT_TCP)? pj_str("TCP"): 2119 pj_str("TLS"); 2120 info->info = (t->type==PJSIP_TRANSPORT_TCP)? pj_str("TCP transport"): 2121 pj_str("TLS transport"); 2118 2122 info->flag = factory->flag; 2119 2123 info->addr_len = sizeof(factory->local_addr);
Note: See TracChangeset
for help on using the changeset viewer.