aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/sa/ike_sa_manager.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-11-24 12:06:23 +0000
committerMartin Willi <martin@strongswan.org>2005-11-24 12:06:23 +0000
commit12c3e4c860e8d7d76b52dd02a9ca9af77551c2e5 (patch)
tree62f5fdd1fcf632939e413cea4568244686f36ae4 /Source/charon/sa/ike_sa_manager.c
parent4ed9966524c41a006a755695e8d4fdb54daee33c (diff)
downloadstrongswan-12c3e4c860e8d7d76b52dd02a9ca9af77551c2e5.tar.bz2
strongswan-12c3e4c860e8d7d76b52dd02a9ca9af77551c2e5.tar.xz
- moved remove-method to iterator
Diffstat (limited to 'Source/charon/sa/ike_sa_manager.c')
-rw-r--r--Source/charon/sa/ike_sa_manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/charon/sa/ike_sa_manager.c b/Source/charon/sa/ike_sa_manager.c
index 55fd0fcd6..669bcec16 100644
--- a/Source/charon/sa/ike_sa_manager.c
+++ b/Source/charon/sa/ike_sa_manager.c
@@ -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;