[asterisk-commits] russell: branch group/timing r122430 - /team/group/timing/res/res_timing_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jun 12 18:00:35 CDT 2008


Author: russell
Date: Thu Jun 12 18:00:34 2008
New Revision: 122430

URL: http://svn.digium.com/view/asterisk?view=rev&rev=122430
Log:
TIMERACK can accept a number of ACKS as a parameter, neat.

Modified:
    team/group/timing/res/res_timing_dahdi.c

Modified: team/group/timing/res/res_timing_dahdi.c
URL: http://svn.digium.com/view/asterisk/team/group/timing/res/res_timing_dahdi.c?view=diff&rev=122430&r1=122429&r2=122430
==============================================================================
--- team/group/timing/res/res_timing_dahdi.c (original)
+++ team/group/timing/res/res_timing_dahdi.c Thu Jun 12 18:00:34 2008
@@ -90,11 +90,7 @@
 
 static void dahdi_timer_ack(int handle, unsigned int quantity)
 {
-	int unused;
-
-	while (quantity-- && !ioctl(handle, DAHDI_TIMERACK, &unused)) {
-		;
-	}
+	ioctl(handle, DAHDI_TIMERACK, &quantity);
 }
 
 static int dahdi_timer_enable_continuous(int handle)




More information about the asterisk-commits mailing list