- Timestamp:
- Aug 11, 2008 3:17:40 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/ice_session.c
r2175 r2202 1637 1637 PJ_ASSERT_RETURN(ice->clist.count > 0, PJ_EINVALIDOP); 1638 1638 1639 /* Lock session */ 1640 pj_mutex_lock(ice->mutex); 1641 1639 1642 LOG4((ice->obj_name, "Starting ICE check..")); 1640 1643 … … 1660 1663 if (i == clist->count) { 1661 1664 pj_assert(!"Unable to find checklist for component 1"); 1665 pj_mutex_unlock(ice->mutex); 1662 1666 return PJNATH_EICEINCOMPID; 1663 1667 } … … 1711 1715 } 1712 1716 1717 pj_mutex_unlock(ice->mutex); 1713 1718 return status; 1714 1719 } … … 2192 2197 */ 2193 2198 if (i == ice->rcand_cnt) { 2199 if (ice->rcand_cnt >= PJ_ICE_MAX_CAND) { 2200 LOG4((ice->obj_name, 2201 "Unable to add new peer reflexive candidate: too many " 2202 "candidates already (%d)", PJ_ICE_MAX_CAND)); 2203 return; 2204 } 2205 2194 2206 rcand = &ice->rcand[ice->rcand_cnt++]; 2195 2207 rcand->comp_id = (pj_uint8_t)rcheck->comp_id;
Note: See TracChangeset
for help on using the changeset viewer.