functions invoked on all linked list items now support up to five additional arguments

This commit is contained in:
Tobias Brunner
2008-04-18 11:48:53 +00:00
parent b1f8fc0cdb
commit ebb036feec
3 changed files with 23 additions and 11 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ static void unregister(iface_t *iface)
*/
static void destroy(private_bridge_t *this)
{
this->ifaces->invoke_function(this->ifaces, (void(*)(void*))unregister);
this->ifaces->invoke_function(this->ifaces, (linked_list_invoke_t)unregister);
this->ifaces->destroy(this->ifaces);
if (br_del_bridge(this->name) != 0)
{