diff options
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 2c36f08f7..6889c6642 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -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; |