whitespace fix only
authorJeff Peeler <jpeeler@digium.com>
Tue, 21 Jul 2009 22:24:56 +0000 (22:24 +0000)
committerJeff Peeler <jpeeler@digium.com>
Tue, 21 Jul 2009 22:24:56 +0000 (22:24 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@207934 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index a69f95f..3270de6 100644 (file)
@@ -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);