diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-09-04 23:01:03 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2006-09-04 23:01:03 +0000 |
commit | 0305962c454019c63b6d69634e8301b9f199627b (patch) | |
tree | 8cd8d0ccb8b0af5720452d44e19fe94b0cf26e62 /xpp/card_fxs.c | |
parent | 393ca276af8b3f2610ae82b1971fa0b5d2abb336 (diff) |
Rename the bitmask xpd->hookstate into xpd->offhook (for readability).
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1391 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/card_fxs.c')
-rw-r--r-- | xpp/card_fxs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xpp/card_fxs.c b/xpp/card_fxs.c index 0050348..99dd354 100644 --- a/xpp/card_fxs.c +++ b/xpp/card_fxs.c @@ -821,10 +821,10 @@ HANDLER_DEF(FXS, SLIC_REPLY) BIT_CLR(lines, channo); BIT_SET(lines, newchanno); xpd->ringing[newchanno] = 0; // Stop ringing. No leds for digital inputs. - if(offhook && !IS_SET(xpd->hookstate, newchanno)) { // OFFHOOK + if(offhook && !IS_SET(xpd->offhook, newchanno)) { // OFFHOOK DBG("%s/%s/%d: OFFHOOK\n", xbus->busname, xpd->xpdname, newchanno); update_line_status(xpd, newchanno, 1); - } else if(!offhook && IS_SET(xpd->hookstate, newchanno)) { // ONHOOK + } else if(!offhook && IS_SET(xpd->offhook, newchanno)) { // ONHOOK DBG("%s/%s/%d: ONHOOK\n", xbus->busname, xpd->xpdname, newchanno); update_line_status(xpd, newchanno, 0); } |