diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-09-17 22:59:36 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-09-17 22:59:36 +0000 |
commit | ded76a8988ccde91946fd7e05107d775010d3cfe (patch) | |
tree | 1e819c9ba9585ae73612c3fd4abae94e5c9cd11a /apps | |
parent | 0d1abc92fe676c428d838cc128907f715c794e1b (diff) |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_zapscan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_zapscan.c b/apps/app_zapscan.c index 1530d7f7b..5a0cc8a9b 100644 --- a/apps/app_zapscan.c +++ b/apps/app_zapscan.c @@ -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; } |