aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2006-11-02 10:27:05 +0000
committerMartin Willi <martin@strongswan.org>2006-11-02 10:27:05 +0000
commit4622f01d87f4b41aa6a74348a38029c565e27e4b (patch)
tree9832f3b66edf62ba8eb3e6a176f78ca49677460a /src
parent3b62f53fa465ce1a57bc18a244ac14d002c6be77 (diff)
downloadstrongswan-4622f01d87f4b41aa6a74348a38029c565e27e4b.tar.bz2
strongswan-4622f01d87f4b41aa6a74348a38029c565e27e4b.tar.xz
removed iterator hook for replace
Diffstat (limited to 'src')
-rw-r--r--src/libstrongswan/utils/linked_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/utils/linked_list.c b/src/libstrongswan/utils/linked_list.c
index 4aea69034..daf07e210 100644
--- a/src/libstrongswan/utils/linked_list.c
+++ b/src/libstrongswan/utils/linked_list.c
@@ -305,7 +305,7 @@ static status_t replace(private_iterator_t *this, void **old_item, void *new_ite
}
if (old_item != NULL)
{
- *old_item = this->hook(this->current->value);
+ *old_item = this->current->value;
}
this->current->value = new_item;