- moved remove-method to iterator

This commit is contained in:
Martin Willi
2005-11-24 12:06:23 +00:00
parent 4ed9966524
commit 12c3e4c860
5 changed files with 80 additions and 80 deletions
+1 -1
View File
@@ -335,7 +335,7 @@ static status_t delete_entry(private_ike_sa_manager_t *this, ike_sa_entry_t *ent
if (current == entry)
{
this->logger->log(this->logger,CONTROL | MOST,"Found entry by pointer. Going to delete it.");
list->remove(list, iterator);
iterator->remove(iterator);
entry->destroy(entry);
status = SUCCESS;
break;