fixed compilation of chan_misdn, #11269, thanks IgorG.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89319 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
9f485cd0a3
commit
ee51e2f152
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Reference in a new issue