mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-25 15:08:53 +00:00
fixed compilation of chan_misdn, #11269, thanks IgorG.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1686,11 +1686,11 @@ static char *complete_ch_helper(struct ast_cli_args *a, int rpos)
|
|||||||
if (++which > a->n)
|
if (++which > a->n)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
ast_mutex_unlock(&c->lock);
|
ast_channel_unlock(c);
|
||||||
}
|
}
|
||||||
if (c) {
|
if (c) {
|
||||||
ret = ast_strdup(c->name);
|
ret = ast_strdup(c->name);
|
||||||
ast_mutex_unlock(&c->lock);
|
ast_channel_unlock(c);
|
||||||
} else
|
} else
|
||||||
ret = NULL;
|
ret = NULL;
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user