Forgot that AST_LIST_REMOVE_CURRENT takes different arguments in trunk than 1.4.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson 2008-02-08 18:58:25 +00:00
parent ba003e415b
commit 52595c5d30
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}