[asterisk-commits] russell: trunk r123393 -	/trunk/res/res_timing_pthread.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Tue Jun 17 14:00:14 CDT 2008
    
    
  
Author: russell
Date: Tue Jun 17 14:00:14 2008
New Revision: 123393
URL: http://svn.digium.com/view/asterisk?view=rev&rev=123393
Log:
Fix the check against the max supported rate
Modified:
    trunk/res/res_timing_pthread.c
Modified: trunk/res/res_timing_pthread.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_timing_pthread.c?view=diff&rev=123393&r1=123392&r2=123393
==============================================================================
--- trunk/res/res_timing_pthread.c (original)
+++ trunk/res/res_timing_pthread.c Tue Jun 17 14:00:14 2008
@@ -149,7 +149,7 @@
 		return -1;
 	}
 
-	if (rate > 0 && rate < MAX_RATE) {
+	if (rate > MAX_RATE) {
 		ast_log(LOG_ERROR, "res_timing_pthread only supports timers at a max rate of %d / sec\n",
 			MAX_RATE);
 		errno = EINVAL;
    
    
More information about the asterisk-commits
mailing list