removed iterator hook for replace
authorMartin Willi <martin@strongswan.org>
Thu, 2 Nov 2006 10:27:05 +0000 (10:27 -0000)
committerMartin Willi <martin@strongswan.org>
Thu, 2 Nov 2006 10:27:05 +0000 (10:27 -0000)
src/libstrongswan/utils/linked_list.c

index 4aea690..daf07e2 100644 (file)
@@ -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;