fix for MODAPP-25.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5579 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-08-09 03:19:07 +00:00
parent c7905e2522
commit c829877254
1 changed files with 4 additions and 1 deletions

View File

@ -4451,7 +4451,10 @@ static switch_status_t conference_new_install_caller_controls_custom(conference_
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) {