diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-09-17 22:59:36 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-09-17 22:59:36 +0000 |
commit | b9f37c0e992c5cad53a18b2dc1fdc80e67f3f108 (patch) | |
tree | 1e819c9ba9585ae73612c3fd4abae94e5c9cd11a /apps | |
parent | cb3876e55fa1af26516fc0304f91434eaa74ac70 (diff) |
convert various places that access the channel lock directly to use the channel lock wrappers
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82728 f38db490-d61c-443f-a65b-d21fe96a405b
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; } |