[zaptel-commits] qwell: branch 1.4 r3300 - /branches/1.4/zaptel-base.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Tue Dec 4 15:32:15 CST 2007


Author: qwell
Date: Tue Dec  4 15:32:14 2007
New Revision: 3300

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3300
Log:
Remove some code that does...well...nothing.

Closes issue #11460, patch by flefoll.

Modified:
    branches/1.4/zaptel-base.c

Modified: branches/1.4/zaptel-base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/zaptel-base.c?view=diff&rev=3300&r1=3299&r2=3300
==============================================================================
--- branches/1.4/zaptel-base.c (original)
+++ branches/1.4/zaptel-base.c Tue Dec  4 15:32:14 2007
@@ -460,13 +460,8 @@
 	  /* 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 */




More information about the zaptel-commits mailing list