Changeset 2206 for pjproject/trunk
- Timestamp:
- Aug 12, 2008 12:20:21 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/ice_session.c
r2202 r2206 1667 1667 } 1668 1668 1669 /* Set this check to WAITING */ 1670 check_set_state(ice, &clist->checks[i], 1671 PJ_ICE_SESS_CHECK_STATE_WAITING, PJ_SUCCESS); 1669 /* Set this check to WAITING only if state is frozen. It may be possible 1670 * that this check has already been started by a trigger check 1671 */ 1672 if (clist->checks[i].state == PJ_ICE_SESS_CHECK_STATE_FROZEN) { 1673 check_set_state(ice, &clist->checks[i], 1674 PJ_ICE_SESS_CHECK_STATE_WAITING, PJ_SUCCESS); 1675 } 1676 1672 1677 cand0 = clist->checks[i].lcand; 1673 1678 flist[flist_cnt++] = &clist->checks[i].lcand->foundation; … … 1685 1690 find_str(flist, flist_cnt, &cand1->foundation)==NULL) 1686 1691 { 1687 check_set_state(ice, &clist->checks[i], 1688 PJ_ICE_SESS_CHECK_STATE_WAITING, PJ_SUCCESS); 1692 if (clist->checks[i].state == PJ_ICE_SESS_CHECK_STATE_FROZEN) { 1693 check_set_state(ice, &clist->checks[i], 1694 PJ_ICE_SESS_CHECK_STATE_WAITING, PJ_SUCCESS); 1695 } 1689 1696 flist[flist_cnt++] = &cand1->foundation; 1690 1697 }
Note: See TracChangeset
for help on using the changeset viewer.