Changeset 2881
- Timestamp:
- Aug 15, 2009 9:53:58 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/transport_loop.c
r2845 r2881 257 257 break; 258 258 } 259 PJ_ASSERT_ON_FAIL(i != loop->user_cnt, return);260 259 261 260 /* Remove this user */ 262 pj_array_erase(loop->users, sizeof(loop->users[0]), 263 loop->user_cnt, i); 264 --loop->user_cnt; 261 if (i != loop->user_cnt) { 262 pj_array_erase(loop->users, sizeof(loop->users[0]), 263 loop->user_cnt, i); 264 --loop->user_cnt; 265 } 265 266 } 266 267
Note: See TracChangeset
for help on using the changeset viewer.