diff options
author | Christian Richter <christian.richter@beronet.com> | 2007-11-16 08:54:04 +0000 |
---|---|---|
committer | Christian Richter <christian.richter@beronet.com> | 2007-11-16 08:54:04 +0000 |
commit | 0bc0f6919f0e8366e613b56d38a97ff1ee7ce1a6 (patch) | |
tree | 663ff74e786ff59eaf26f09aff12b3e77c9e2e45 /channels | |
parent | 8309f54e39850acc0113161ae8c9f50bc5028107 (diff) |
fixed compilation of chan_misdn, #11269, thanks IgorG.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_misdn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c index c0264bc92..4996bfb41 100644 --- a/channels/chan_misdn.c +++ b/channels/chan_misdn.c @@ -1686,11 +1686,11 @@ static char *complete_ch_helper(struct ast_cli_args *a, int rpos) if (++which > a->n) break; } - ast_mutex_unlock(&c->lock); + ast_channel_unlock(c); } if (c) { ret = ast_strdup(c->name); - ast_mutex_unlock(&c->lock); + ast_channel_unlock(c); } else ret = NULL; return ret; |