]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Use the default timeout for a queue instead of -1
authorMark Michelson <mmichelson@digium.com>
Tue, 20 Jan 2009 21:57:24 +0000 (21:57 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 20 Jan 2009 21:57:24 +0000 (21:57 +0000)
(closes issue #14272)
Reported by: timking

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@169574 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_queue.c

index ada7da82de9c09ba98f8c23e79a29c5fba909f40..444f0fc52df6393db0f94f32d0e41db9e6d7af69 100644 (file)
@@ -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;