Changeset 5035 for pjproject/trunk/pjnath/src/pjnath/ice_strans.c
- Timestamp:
- Mar 27, 2015 6:17:27 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/ice_strans.c
r4728 r5035 852 852 * checked first. 853 853 */ 854 if (ice_st->comp[0]->default_cand >= 0 && 855 ice_st->comp[0]->cand_list[ice_st->comp[0]->default_cand].type 854 if (ice_st->comp[0]->cand_list[ice_st->comp[0]->default_cand].type 856 855 == PJ_ICE_CAND_TYPE_SRFLX) 857 856 { … … 1041 1040 } else { 1042 1041 pj_ice_strans_comp *comp = ice_st->comp[comp_id - 1]; 1043 pj_assert(comp->default_cand >=0 && comp->default_cand<comp->cand_cnt);1042 pj_assert(comp->default_cand<comp->cand_cnt); 1044 1043 pj_memcpy(cand, &comp->cand_list[comp->default_cand], 1045 1044 sizeof(pj_ice_sess_cand));
Note: See TracChangeset
for help on using the changeset viewer.