Fix off-by-1 read err in switch_xml

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12628 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene committed 2009-03-16 20:28:22 +00:00
1 parent 16009c5094
commit 53ab0e2aef
6 files changed
+9 -11

No files matched your search

@@ -2922,7 +2922,7 @@ static switch_status_t conf_api_sub_kick(conference_member_t *member, switch_str
{
switch_event_t *event;
if (member == NULL)
if (member == NULL || switch_test_flag(member, MFLAG_NOCHANNEL))
return SWITCH_STATUS_GENERR;
switch_mutex_lock(member->control_mutex);