summaryrefslogtreecommitdiff
path: root/apps/app_queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_queue.c')
-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 9b6ed81b6..9042149c0 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -933,7 +933,7 @@ static int remove_from_interfaces(const char *interface)
if (!strcasecmp(curint->interface, interface)) {
if (!interface_exists_global(interface)) {
ast_debug(1, "Removing %s from the list of interfaces that make up all of our queue members.\n", interface);
- AST_LIST_REMOVE_CURRENT(&interfaces, list);
+ AST_LIST_REMOVE_CURRENT(list);
ast_free(curint);
}
break;