diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-29 14:50:18 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-29 14:50:18 +0000 |
commit | 06fbbd19895c50b25faf8f6658fa8984525b86da (patch) | |
tree | 703113f22ff33a2561e7252a7def788ed5714c76 /app.c | |
parent | 4e767760c884488e9bce7b17d2f833d10118923a (diff) |
a bunch of conversion to ast_channel_*lock (issue #7058)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23355 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'app.c')
-rw-r--r-- | app.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1042,7 +1042,7 @@ int ast_app_group_get_count(const char *group, const char *category) test = pbx_builtin_getvar_helper(chan, cat); if (test && !strcasecmp(test, group)) count++; - ast_mutex_unlock(&chan->lock); + ast_channel_unlock(chan); } return count; @@ -1072,7 +1072,7 @@ int ast_app_group_match_get_count(const char *groupmatch, const char *category) test = pbx_builtin_getvar_helper(chan, cat); if (test && !regexec(®exbuf, test, 0, NULL, 0)) count++; - ast_mutex_unlock(&chan->lock); + ast_channel_unlock(chan); } regfree(®exbuf); |