[asterisk-commits] branch 1.2 r22954 -
/branches/1.2/apps/app_queue.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Thu Apr 27 12:11:48 MST 2006
Author: file
Date: Thu Apr 27 14:11:47 2006
New Revision: 22954
URL: http://svn.digium.com/view/asterisk?rev=22954&view=rev
Log:
Queue(somequeue,,,,) -> interpreted as Queue(somequeue,,,,0) (issue #7044 reported nathan fixed by jsmith - sort of)
Modified:
branches/1.2/apps/app_queue.c
Modified: branches/1.2/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/apps/app_queue.c?rev=22954&r1=22953&r2=22954&view=diff
==============================================================================
--- branches/1.2/apps/app_queue.c (original)
+++ branches/1.2/apps/app_queue.c Thu Apr 27 14:11:47 2006
@@ -2899,7 +2899,7 @@
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;
More information about the asterisk-commits
mailing list