projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
419bb42
)
Use the default timeout for a queue instead of -1
author
Mark Michelson
<mmichelson@digium.com>
Tue, 20 Jan 2009 21:57:24 +0000
(21:57 +0000)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/apps/app_queue.c
b/apps/app_queue.c
index
ada7da8
..
444f0fc
100644
(file)
--- 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;