Simplified dahdi_request() channel selection failed reason/cause code.

Also avoid potential crash because cause could be NULL.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@251585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Richard Mudgett
2010-03-10 16:55:34 +00:00
parent ee5e65194f
commit b1ccb1a44e
5 changed files with 22 additions and 32 deletions

View File

@@ -261,7 +261,7 @@ int sig_pri_indicate(struct sig_pri_chan *p, struct ast_channel *chan, int condi
int sig_pri_answer(struct sig_pri_chan *p, struct ast_channel *ast);
int sig_pri_available(struct sig_pri_chan *p, int *reason);
int sig_pri_available(struct sig_pri_chan *p);
void sig_pri_init_pri(struct sig_pri_pri *pri);