From: Mark Michelson Date: Tue, 20 Jan 2009 21:57:24 +0000 (+0000) Subject: Use the default timeout for a queue instead of -1 X-Git-Tag: 1.6.2.0-beta1~406 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b52253d590994e8ec6781fde370cf138e9bc9409;p=thirdparty%2Fasterisk.git 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/trunk@169574 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index ada7da82de..444f0fc52d 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1146,7 +1146,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;