diff options
author | Richard Mudgett <rmudgett@digium.com> | 2010-03-10 16:55:34 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2010-03-10 16:55:34 +0000 |
commit | b1ccb1a44eda9c4d5799ce1db4f83219023d6537 (patch) | |
tree | c08b4dad147a4d30292029f7ab4513b6f0c3f5ab /channels/sig_analog.h | |
parent | ee5e65194fd6975b2bc7ffe7a2f3358a9e891167 (diff) |
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
Diffstat (limited to 'channels/sig_analog.h')
-rw-r--r-- | channels/sig_analog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/sig_analog.h b/channels/sig_analog.h index 76972fe94..33b642289 100644 --- a/channels/sig_analog.h +++ b/channels/sig_analog.h @@ -336,7 +336,7 @@ struct ast_frame *analog_exception(struct analog_pvt *p, struct ast_channel *ast struct ast_channel * analog_request(struct analog_pvt *p, int *callwait, const struct ast_channel *requestor); -int analog_available(struct analog_pvt *p, int *busy); +int analog_available(struct analog_pvt *p); void *analog_handle_init_event(struct analog_pvt *i, int event); |