convert various places that access the channel lock directly to use the channel lock wrappers

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82728 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2007-09-17 22:59:36 +00:00
parent 0d1abc92fe
commit ded76a8988
7 changed files with 64 additions and 68 deletions

View File

@@ -332,7 +332,7 @@ static int conf_exec(struct ast_channel *chan, void *data)
if((mygroup = pbx_builtin_getvar_helper(tempchan, "GROUP")) && (!strcmp(mygroup, desired_group))) {
ast_verb(3, "Found Matching Channel %s in group %s\n", tempchan->name, desired_group);
} else {
ast_mutex_unlock(&tempchan->lock);
ast_channel_unlock(tempchan);
lastchan = tempchan;
continue;
}