fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7290 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
10d646ea1e
commit
b3e0e29f8a
|
@ -424,7 +424,9 @@ static conference_member_t *conference_member_get(conference_obj_t * conference,
|
|||
conference_member_t *member = NULL;
|
||||
|
||||
switch_assert(conference != NULL);
|
||||
switch_assert(id != 0);
|
||||
if (!id) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
switch_mutex_lock(conference->member_mutex);
|
||||
for (member = conference->members; member; member = member->next) {
|
||||
|
|
Loading…
Reference in New Issue