Changeset 1317 for pjproject/trunk
- Timestamp:
- May 29, 2007 11:51:45 AM (18 years ago)
- Location:
- pjproject/trunk/pjsip/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_endpoint.c
r1266 r1317 831 831 if (port == 0) { 832 832 pjsip_transport_type_e type; 833 type = rdata->tp_info.transport->key.type;833 type = (pjsip_transport_type_e)rdata->tp_info.transport->key.type; 834 834 port = pjsip_transport_get_default_port_for_type(type); 835 835 } -
pjproject/trunk/pjsip/src/pjsip/sip_transport_loop.c
r1269 r1317 374 374 loop->base.local_name.host = pj_str(ADDR_LOOP_DGRAM); 375 375 loop->base.local_name.port = 376 pjsip_transport_get_default_port_for_type(loop->base.key.type); 376 pjsip_transport_get_default_port_for_type((pjsip_transport_type_e) 377 loop->base.key.type); 377 378 loop->base.addr_len = sizeof(pj_sockaddr_in); 378 379 loop->base.endpt = endpt; -
pjproject/trunk/pjsip/src/pjsip/sip_util.c
r1269 r1317 1077 1077 rdata->pkt_info.src_addr_len); 1078 1078 res_addr->addr_len = rdata->pkt_info.src_addr_len; 1079 res_addr->dst_host.type =src_transport->key.type;1079 res_addr->dst_host.type=(pjsip_transport_type_e)src_transport->key.type; 1080 1080 res_addr->dst_host.flag = src_transport->flag; 1081 1081 pj_strdup( pool, &res_addr->dst_host.addr.host, … … 1096 1096 */ 1097 1097 res_addr->transport = NULL; 1098 res_addr->dst_host.type =src_transport->key.type;1098 res_addr->dst_host.type=(pjsip_transport_type_e)src_transport->key.type; 1099 1099 res_addr->dst_host.flag = src_transport->flag; 1100 1100 pj_strdup( pool, &res_addr->dst_host.addr.host, … … 1115 1115 rdata->pkt_info.src_addr_len); 1116 1116 res_addr->addr_len = rdata->pkt_info.src_addr_len; 1117 res_addr->dst_host.type =src_transport->key.type;1117 res_addr->dst_host.type=(pjsip_transport_type_e)src_transport->key.type; 1118 1118 res_addr->dst_host.flag = src_transport->flag; 1119 1119 pj_strdup( pool, &res_addr->dst_host.addr.host, … … 1127 1127 } else { 1128 1128 res_addr->transport = NULL; 1129 res_addr->dst_host.type =src_transport->key.type;1129 res_addr->dst_host.type=(pjsip_transport_type_e)src_transport->key.type; 1130 1130 res_addr->dst_host.flag = src_transport->flag; 1131 1131 pj_strdup( pool, &res_addr->dst_host.addr.host, -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r1278 r1317 1411 1411 1412 1412 /* Save the transport */ 1413 pjsua_var.tpdata[id].type = tp->key.type;1413 pjsua_var.tpdata[id].type = (pjsip_transport_type_e) tp->key.type; 1414 1414 pjsua_var.tpdata[id].local_name = tp->local_name; 1415 1415 pjsua_var.tpdata[id].data.tp = tp; … … 1481 1481 1482 1482 info->id = id; 1483 info->type = tp->key.type;1483 info->type = (pjsip_transport_type_e) tp->key.type; 1484 1484 info->type_name = pj_str(tp->type_name); 1485 1485 info->info = pj_str(tp->info);
Note: See TracChangeset
for help on using the changeset viewer.