[asterisk-commits] mmichelson: trunk r94516 - /trunk/main/dial.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Dec 21 11:40:45 CST 2007
Author: mmichelson
Date: Fri Dec 21 11:40:44 2007
New Revision: 94516
URL: http://svn.digium.com/view/asterisk?view=rev&rev=94516
Log:
AST_LIST_REMOVE_CURRENT only takes one argument in trunk
Modified:
trunk/main/dial.c
Modified: trunk/main/dial.c
URL: http://svn.digium.com/view/asterisk/trunk/main/dial.c?view=diff&rev=94516&r1=94515&r2=94516
==============================================================================
--- trunk/main/dial.c (original)
+++ trunk/main/dial.c Fri Dec 21 11:40:44 2007
@@ -814,7 +814,7 @@
/* Free structure */
ast_free(channel->tech);
ast_free(channel->device);
- AST_LIST_REMOVE_CURRENT(&dial->channels, list);
+ AST_LIST_REMOVE_CURRENT(list);
ast_free(channel);
}
AST_LIST_TRAVERSE_SAFE_END;
More information about the asterisk-commits
mailing list