Queue(somequeue,,,,) -> interpreted as Queue(somequeue,,,,0) (issue #7044 reported nathan fixed by jsmith - sort of)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@22954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2
Joshua Colp 19 years ago
parent cecda9a947
commit d0aef28b0e

@ -2899,7 +2899,7 @@ static int queue_exec(struct ast_channel *chan, void *data)
queuetimeoutstr = info_ptr;
/* set the expire time based on the supplied timeout; */
if (queuetimeoutstr)
if (!ast_strlen_zero(queuetimeoutstr))
qe.expire = qe.start + atoi(queuetimeoutstr);
else
qe.expire = 0;

Loading…
Cancel
Save