aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-06 00:25:13 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-06 00:25:13 +0000
commit2188d03a9df95ef9a50ebbc67b6a4dcaadc70312 (patch)
tree260de8f794f6720e4cbf1532b3c71eca41d2fb2b
parent99048ad1900956cecfed71607892ee263a3e5882 (diff)
Clarify purpose of function, by renaming
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7353 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_queue.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index 134c43f91..c425c66ee 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -760,7 +760,7 @@ static void rt_handle_member_record(struct ast_call_queue *q, char *interface, c
\return Return the queue, or NULL if it doesn't exist.
\note Should be called with the global qlock locked.
When found, the queue is returned with q->lock locked. */
-static struct ast_call_queue *reload_queue_rt(const char *queuename, struct ast_variable *queue_vars, struct ast_config *member_config)
+static struct ast_call_queue *find_queue_by_name_rt(const char *queuename, struct ast_variable *queue_vars, struct ast_config *member_config)
{
struct ast_variable *v;
struct ast_call_queue *q, *prev_q;
@@ -914,8 +914,8 @@ static int join_queue(char *queuename, struct queue_ent *qe, enum queue_result *
}
ast_mutex_lock(&qlock);
- q = reload_queue_rt(queuename, queue_vars, member_config);
- /* Note: If found, reload_queue_rt() returns with q->lock locked. */
+ q = find_queue_by_name_rt(queuename, queue_vars, member_config);
+ /* Note: If found, find_queue_by_name_rt() returns with q->lock locked. */
if(member_config)
ast_config_destroy(member_config);
if(queue_vars)