mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
automerge commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@22987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user