git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7290 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-01-18 23:21:01 +00:00
parent 10d646ea1e
commit b3e0e29f8a
1 changed files with 3 additions and 1 deletions

View File

@ -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) {