summaryrefslogtreecommitdiff
path: root/zaptel.c
diff options
context:
space:
mode:
Diffstat (limited to 'zaptel.c')
-rwxr-xr-xzaptel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zaptel.c b/zaptel.c
index 1a79860..c1a3248 100755
--- a/zaptel.c
+++ b/zaptel.c
@@ -5247,7 +5247,7 @@ static void __zt_hooksig_pvt(struct zt_chan *chan, zt_rxsig_t rxsig)
} else if (rxsig == ZT_RXSIG_OFFHOOK) {
if (chan->itimer) {
/* did the offhook occur in the window? if not, ignore both events */
- if (chan->itimer <= ((ZT_FXSFLASHMAXTIME - ZTFXSFLASHMINTIME) * ZT_CHUNKSIZE))
+ if (chan->itimer <= ((ZT_FXSFLASHMAXTIME - ZT_FXSFLASHMINTIME) * ZT_CHUNKSIZE))
__qevent(chan, ZT_EVENT_WINKFLASH);
}
chan->itimer = 0;