[Freeswitch-svn] [commit] r7290 - freeswitch/trunk/src/mod/applications/mod_conference

Freeswitch SVN anthm at freeswitch.org
Fri Jan 18 18:21:01 EST 2008


Author: anthm
Date: Fri Jan 18 18:21:01 2008
New Revision: 7290

Modified:
   freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c

Log:
fix

Modified: freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c	Fri Jan 18 18:21:01 2008
@@ -424,7 +424,9 @@
 	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) {



More information about the Freeswitch-svn mailing list