Changeset 2195 for pjproject/trunk


Ignore:
Timestamp:
Aug 7, 2008 9:43:41 AM (16 years ago)
Author:
bennylp
Message:

Fixed bug in pj_ice_strans_get_running_comp_cnt(): wrong number of components may be returned

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/ice_strans.c

    r2136 r2195  
    778778 
    779779    if (ice_st->ice && ice_st->ice->rcand_cnt) { 
    780         return (ice_st->comp_cnt < ice_st->ice->rcand_cnt) ? 
    781                     ice_st->comp_cnt : ice_st->ice->rcand_cnt; 
     780        return ice_st->ice->comp_cnt; 
    782781    } else { 
    783782        return ice_st->comp_cnt; 
Note: See TracChangeset for help on using the changeset viewer.