diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-07-21 22:24:56 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-07-21 22:24:56 +0000 |
commit | 87c2a399f4472ede688680fb189e7dba38798f46 (patch) | |
tree | ca2b6031af36697c3bb3a215888c1c2bae207527 /channels/chan_dahdi.c | |
parent | 31f259bed45e03331975f8de0b6c0d049ef149da (diff) |
whitespace fix only
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@207934 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_dahdi.c')
-rw-r--r-- | channels/chan_dahdi.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index a69f95f92..3270de648 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -2381,14 +2381,14 @@ static int my_is_off_hook(void *pvt) ast_log(LOG_WARNING, "Unable to check hook state on channel %d: %s\n", p->channel, strerror(errno)); } - if ((p->sig == SIG_FXSKS) || (p->sig == SIG_FXSGS)) { - /* When "onhook" that means no battery on the line, and thus - it is out of service..., if it's on a TDM card... If it's a channel - bank, there is no telling... */ - return (par.rxbits > -1) || par.rxisoffhook; - } - - return par.rxisoffhook; + if ((p->sig == SIG_FXSKS) || (p->sig == SIG_FXSGS)) { + /* When "onhook" that means no battery on the line, and thus + it is out of service..., if it's on a TDM card... If it's a channel + bank, there is no telling... */ + return (par.rxbits > -1) || par.rxisoffhook; + } + + return par.rxisoffhook; } static void dahdi_enable_ec(struct dahdi_pvt *p); |