From b072c19f40316649904604c9a5f809ebfd8dfe12 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Tue, 20 Jan 2009 21:57:49 +0000 Subject: [PATCH] Merged revisions 169574 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r169574 | mmichelson | 2009-01-20 15:57:24 -0600 (Tue, 20 Jan 2009) | 6 lines Use the default timeout for a queue instead of -1 (closes issue #14272) Reported by: timking ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@169575 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_queue.c b/apps/app_queue.c index 2ee727cde1..6675e24509 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -888,7 +888,7 @@ static void init_queue(struct call_queue *q) 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;