aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-14 18:30:52 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-03-14 18:30:52 +0000
commitba03cdd7db48b4f429d06c3bf1cb8f92c8a9b1fc (patch)
tree706ec928db628f622bf46ccf9013bb6644ad6156 /apps
parent8cf97ad14a3803ea1ba23c154f6c7f659b8b067c (diff)
Merged revisions 12925 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r12925 | russell | 2006-03-14 13:28:39 -0500 (Tue, 14 Mar 2006) | 3 lines fix a problem with not loading realtime queue members by always reloading a realtime queue from the database even if it is found in the list (issue #6680) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12926 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-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 79a085879..072024ba7 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -952,7 +952,7 @@ static struct ast_call_queue *load_realtime_queue(char *queuename)
}
AST_LIST_UNLOCK(&queues);
- if (!q) {
+ if (!q || q->realtime) {
/*! \note Load from realtime before taking the global qlock, to avoid blocking all
queue operations while waiting for the DB.