aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-27 19:11:47 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-27 19:11:47 +0000
commitcf1ce208c25e4543a325f1117cb787de81524bf5 (patch)
treef53a8709a6c8705a8bdedd53415c79573d71d1d4 /apps/app_queue.c
parent3d9fe8ef1a06d8cca9284e14ff34a9be21bdd024 (diff)
Queue(somequeue,,,,) -> interpreted as Queue(somequeue,,,,0) (issue #7044 reported nathan fixed by jsmith - sort of)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@22954 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;