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

Freeswitch SVN mikej at freeswitch.org
Wed Aug 8 23:19:08 EDT 2007


Author: mikej
Date: Wed Aug  8 23:19:07 2007
New Revision: 5579

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

Log:
fix for MODAPP-25.

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	Wed Aug  8 23:19:07 2007
@@ -4451,7 +4451,10 @@
 	switch_xml_t xml_kvp;
 
 	assert(conference != NULL);
-	assert(xml_controls != NULL);
+
+	if (!xml_controls) {
+		return status;
+	}
 
 	/* parse the controls tree for caller control digit strings */
 	for (xml_kvp = switch_xml_child(xml_controls, "control"); xml_kvp; xml_kvp = xml_kvp->next) {



More information about the Freeswitch-svn mailing list