diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-02-20 19:02:20 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-02-20 19:02:20 +0000 |
commit | b9c5b84c3f67d3fe01af37a53f98bff099fbd42e (patch) | |
tree | 8b3b8ff6186365d70ebe98f6132c394de25a9893 /apps | |
parent | 7509856d02bf3c46a0eb59ba8ff5a93e7f9cfd8d (diff) |
Allow 0 retry time (bug #3630)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5058 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index d75848472..deb3bcac7 100755 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -2484,7 +2484,7 @@ static void reload_queues(void) ast_mutex_lock(&q->lock); /* Re-initialize the queue */ ast_clear_flag(q, QUEUE_FLAG_DEAD); - q->retry = 0; + q->retry = DEFAULT_RETRY; q->timeout = -1; q->maxlen = 0; q->announcefrequency = 0; @@ -2612,7 +2612,7 @@ static void reload_queues(void) } var = var->next; } - if (q->retry < 1) + if (q->retry < 0) q->retry = DEFAULT_RETRY; if (q->timeout < 0) q->timeout = DEFAULT_TIMEOUT; |