diff options
author | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-03 14:28:25 +0000 |
---|---|---|
committer | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-03 14:28:25 +0000 |
commit | 103622b5a967fbf0677bf1e0b4a0a1ce33323e9a (patch) | |
tree | ab1d6636e425c102fff6a98f71abefa518d635de /apps/app_queue.c | |
parent | f0c3c3684c8221e6c5ccf56b6c5826f7dc78c5a7 (diff) |
Merged revisions 41827 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r41827 | bweschke | 2006-09-03 10:16:08 -0400 (Sun, 03 Sep 2006) | 3 lines
Setting a retry of 0 is generally not a good idea and shouldn't be allowed. (#7574 - reported by regin)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41829 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 ae0237847..255da9ced 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -839,7 +839,7 @@ static void queue_set_param(struct call_queue *q, const char *param, const char q->periodicannouncefrequency = atoi(val); } else if (!strcasecmp(param, "retry")) { q->retry = atoi(val); - if (q->retry < 0) + if (q->retry <= 0) q->retry = DEFAULT_RETRY; } else if (!strcasecmp(param, "wrapuptime")) { q->wrapuptime = atoi(val); |