diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-20 21:57:49 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-01-20 21:57:49 +0000 |
commit | a9bd51a345f3067af074b42a8574a337d72ea8c5 (patch) | |
tree | d142f1e5ecd54d6d1781e6139f38eab401c43243 /apps/app_queue.c | |
parent | 49ff6f66d9876b39d2ecc7c26a0fa706a1365f2f (diff) |
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: http://svn.digium.com/svn/asterisk/branches/1.6.1@169575 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r-- | apps/app_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 2ee727cde..6675e2450 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; |