[asterisk-commits] bweschke: branch 1.2 r41827 -
	/branches/1.2/apps/app_queue.c
    asterisk-commits at lists.digium.com 
    asterisk-commits at lists.digium.com
       
    Sun Sep  3 07:16:09 MST 2006
    
    
  
Author: bweschke
Date: Sun Sep  3 09:16:08 2006
New Revision: 41827
URL: http://svn.digium.com/view/asterisk?rev=41827&view=rev
Log:
 Setting a retry of 0 is generally not a good idea and shouldn't be allowed. (#7574 - reported by regin)
Modified:
    branches/1.2/apps/app_queue.c
Modified: branches/1.2/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_queue.c?rev=41827&r1=41826&r2=41827&view=diff
==============================================================================
--- branches/1.2/apps/app_queue.c (original)
+++ branches/1.2/apps/app_queue.c Sun Sep  3 09:16:08 2006
@@ -777,7 +777,7 @@
 		q->periodicannouncefrequency = atoi(val);
 	} else if (!strcasecmp(param, "retry")) {
 		q->retry = atoi(val);
-		if (q->retry < 0)
+		if (q->retry <= 0)
 			q->retry = DEFAULT_RETRY;
 	} else if (!strcasecmp(param, "wrapuptime")) {
 		q->wrapuptime = atoi(val);
    
    
More information about the asterisk-commits
mailing list