diff options
Diffstat (limited to 'zaptel-base.c')
-rw-r--r-- | zaptel-base.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/zaptel-base.c b/zaptel-base.c index c2d1013..b1fb873 100644 --- a/zaptel-base.c +++ b/zaptel-base.c @@ -460,13 +460,8 @@ static unsigned int in_sig[NUM_SIGS][2] = { /* if RBS does not apply, return error */ if (!(chan->span->flags & ZT_FLAG_RBS) || !chan->span->rbsbits) return(-1); - if (chan->sig == ZT_SIG_CAS) { - static int printed = 0; - if (printed < 10) { - printed++; - } + if (chan->sig == ZT_SIG_CAS) return chan->idlebits; - } for (x=0;x<NUM_SIGS;x++) { if (in_sig[x][0] == chan->sig) return(in_sig[x][1]); } return(-1); /* not found -- error */ |