[asterisk-commits] mmichelson: trunk r169574 - /trunk/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 20 15:57:24 CST 2009


Author: mmichelson
Date: Tue Jan 20 15:57:24 2009
New Revision: 169574

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=169574
Log:
Use the default timeout for a queue instead of -1

(closes issue #14272)
Reported by: timking


Modified:
    trunk/apps/app_queue.c

Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/apps/app_queue.c?view=diff&rev=169574&r1=169573&r2=169574
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Tue Jan 20 15:57:24 2009
@@ -1146,7 +1146,7 @@
 
 	q->dead = 0;
 	q->retry = DEFAULT_RETRY;
-	q->timeout = -1;
+	q->timeout = DEFAULT_TIMEOUT;
 	q->maxlen = 0;
 	q->announcefrequency = 0;
 	q->minannouncefrequency = DEFAULT_MIN_ANNOUNCE_FREQUENCY;




More information about the asterisk-commits mailing list