automerge commit

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@22987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Automerge script 19 years ago
parent 3190fe1c57
commit b51560eaa1

@ -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