aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-08 18:58:25 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-08 18:58:25 +0000
commit381f0dce1439f8c5344300a846760ea930987ed3 (patch)
tree01d3dd4b45c3ae6fed6ac9672ae149337b5f6438 /apps/app_queue.c
parentfe9a94030aef0677e31c694410908f4421d9cace (diff)
Forgot that AST_LIST_REMOVE_CURRENT takes different arguments in trunk than 1.4.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@103122 f38db490-d61c-443f-a65b-d21fe96a405b
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 cdb0d0791..ad32205fb 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -1028,7 +1028,7 @@ static int remove_from_interfaces(const char *interface)
AST_LIST_TRAVERSE_SAFE_BEGIN(&interfaces, curint, list) {
if (!strcasecmp(curint->interface, 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;
}