diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-27 20:05:17 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-04-27 20:05:17 +0000 |
commit | 0e7523ec0d085b6fa6a67c46005eb9310a8dc8a6 (patch) | |
tree | a7929dc057e45f691bd45aea6dbc4b64bcd61cc8 /apps/app_queue.c | |
parent | 119f6a6483f1f478b6355d5070b7326927e1f70b (diff) |
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@22987 f38db490-d61c-443f-a65b-d21fe96a405b
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; |