- Timestamp:
- Jun 28, 2008 2:48:10 PM (16 years ago)
- Location:
- pjproject/trunk/pjnath/src/pjnath
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/ice_strans.c
r2054 r2090 968 968 } 969 969 970 status = pj_turn_sock_sendto(comp->turn_sock, data, data_len,970 status = pj_turn_sock_sendto(comp->turn_sock, (const pj_uint8_t*)data, data_len, 971 971 dst_addr, dst_addr_len); 972 972 return (status==PJ_SUCCESS||status==PJ_EPENDING) ? -
pjproject/trunk/pjnath/src/pjnath/turn_session.c
r2046 r2090 824 824 /* Add DATA attribute */ 825 825 pj_stun_binary_attr_init(&data_attr, NULL, PJ_STUN_ATTR_DATA, NULL, 0); 826 data_attr.data = ( void*)pkt;826 data_attr.data = (pj_uint8_t*)pkt; 827 827 data_attr.length = pkt_len; 828 828 pj_stun_msg_add_attr(&send_ind, (pj_stun_attr_hdr*)&data_attr);
Note: See TracChangeset
for help on using the changeset viewer.