projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba003e4
)
Forgot that AST_LIST_REMOVE_CURRENT takes different arguments in trunk than 1.4.
author
Mark Michelson
<mmichelson@digium.com>
Fri, 8 Feb 2008 18:58:25 +0000
(18:58 +0000)
committer
Mark Michelson
<mmichelson@digium.com>
Fri, 8 Feb 2008 18:58:25 +0000
(18:58 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103122
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_queue.c
patch
|
blob
|
history
diff --git
a/apps/app_queue.c
b/apps/app_queue.c
index
cdb0d07
..
ad32205
100644
(file)
--- 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;
}