From: Automerge script Date: Thu, 27 Apr 2006 20:05:17 +0000 (+0000) Subject: automerge commit X-Git-Tag: 1.2.8-netsec~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b51560eaa1ecccca3668612669bc2e4fdfbddbed;p=thirdparty%2Fasterisk.git automerge commit git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@22987 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index 2c36f08f7c..6889c66422 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;