aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-27 20:05:17 +0000
committerroot <root@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-27 20:05:17 +0000
commit0e7523ec0d085b6fa6a67c46005eb9310a8dc8a6 (patch)
treea7929dc057e45f691bd45aea6dbc4b64bcd61cc8 /apps/app_queue.c
parent119f6a6483f1f478b6355d5070b7326927e1f70b (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.c2
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;