aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-20 19:46:18 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-20 19:46:18 +0000
commitbd6af491b5a499d735d3abd3ffbdf08d8beb3fcc (patch)
treec3961ea789572d1f4f3ad3e46aef5441b4752bf6 /apps
parent4c84f528ce498caee513e288e595ee45582beb17 (diff)
Fix a segfault that was reported by jcmoore in #asterisk-bugs on IRC.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43357 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 ff00e4463..982855062 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1063,7 +1063,7 @@ static struct call_queue *find_queue_by_name_rt(const char *queuename, struct as
while ((interface = ast_category_browse(member_config, interface))) {
rt_handle_member_record(q, interface,
- ast_variable_retrieve(member_config, interface, "membername"),
+ S_OR(ast_variable_retrieve(member_config, interface, "membername"), interface),
ast_variable_retrieve(member_config, interface, "penalty"));
}