[asterisk-commits] mmichelson: trunk r103122 - /trunk/apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Feb 8 12:58:25 CST 2008
Author: mmichelson
Date: Fri Feb 8 12:58:25 2008
New Revision: 103122
URL: http://svn.digium.com/view/asterisk?view=rev&rev=103122
Log:
Forgot that AST_LIST_REMOVE_CURRENT takes different arguments in trunk than 1.4.
Modified:
trunk/apps/app_queue.c
Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=103122&r1=103121&r2=103122
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Fri Feb 8 12:58:25 2008
@@ -1028,7 +1028,7 @@
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;
}
More information about the asterisk-commits
mailing list