[svn-commits] mattf: branch 1.4 r1476 - /branches/1.4/q921.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Feb 8 17:29:54 CST 2010
Author: mattf
Date: Mon Feb 8 17:29:51 2010
New Revision: 1476
URL: http://svnview.digium.com/svn/libpri?view=rev&rev=1476
Log:
Revert useless check of pri->t200_timer value, since scheduler routines check the value anyways.
Modified:
branches/1.4/q921.c
Modified: branches/1.4/q921.c
URL: http://svnview.digium.com/svn/libpri/branches/1.4/q921.c?view=diff&rev=1476&r1=1475&r2=1476
==============================================================================
--- branches/1.4/q921.c (original)
+++ branches/1.4/q921.c Mon Feb 8 17:29:51 2010
@@ -239,9 +239,7 @@
{
if (pri->debug & PRI_DEBUG_Q921_DUMP)
pri_message(pri, "-- Restarting T200 timer\n");
-
- if (pri->t200_timer)
- pri_schedule_del(pri, pri->t200_timer);
+ pri_schedule_del(pri, pri->t200_timer);
pri->t200_timer = pri_schedule_event(pri, pri->timers[PRI_TIMER_T200], t200_expire, pri);
}
More information about the svn-commits
mailing list