[asterisk-commits] mmichelson: branch mmichelson/res_timing_timerfd r156053 - /team/mmichelson/r...
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Tue Nov 11 18:37:18 CST 2008
    
    
  
Author: mmichelson
Date: Tue Nov 11 18:37:18 2008
New Revision: 156053
URL: http://svn.digium.com/view/asterisk?view=rev&rev=156053
Log:
Heh, if we're going to hash on the timer's handle, then we need
to actually set the handle prior to trying to link the timer into
the container.
At this point, the timer passes the timing test CLI commands with no
problem. The next step is to try some file playbacks
Modified:
    team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c
Modified: team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c
URL: http://svn.digium.com/view/asterisk/team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c?view=diff&rev=156053&r1=156052&r2=156053
==============================================================================
--- team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c (original)
+++ team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c Tue Nov 11 18:37:18 2008
@@ -105,6 +105,7 @@
 		return -1;
 	}
 
+	timer->handle = handle;
 	ao2_link(timerfd_timers, timer);
 	/* Get rid of the reference from the allocation */
 	ao2_ref(timer, -1);
    
    
More information about the asterisk-commits
mailing list