From a98b15033f15576e071543700dca35b088f0a237 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Tue, 19 Mar 2013 07:22:54 -0700 Subject: [PATCH] The last compiler nit for issue #38 --- NOVA/nova_qty.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/NOVA/nova_qty.c b/NOVA/nova_qty.c index 97fab84c..a154cf61 100644 --- a/NOVA/nova_qty.c +++ b/NOVA/nova_qty.c @@ -992,18 +992,20 @@ int32 alm( int32 pulse, int32 code, int32 AC ) case ioDIC : /* get modem or receiver status */ if ( alm_line < qty_max ) + { if ( alm_section ) - { - /* get modem section status */ - if ( qty_ldsc[ alm_line ].xmte ) { - iodata = 0035 ; /* set CD, CTS, DSR, MDM flags */ + /* get modem section status */ + if ( qty_ldsc[ alm_line ].xmte ) + { + iodata = 0035 ; /* set CD, CTS, DSR, MDM flags */ + } + } + else + { + /* get receiver section status */ + iodata = 0 ; /* receiver error status - no errors by default */ } - } - else - { - /* get receiver section status */ - iodata = 0 ; /* receiver error status - no errors by default */ } break ;