fixed iterator regression introduced in [4577]
authorMartin Willi <martin@strongswan.org>
Wed, 5 Nov 2008 11:55:17 +0000 (11:55 -0000)
committerMartin Willi <martin@strongswan.org>
Wed, 5 Nov 2008 11:55:17 +0000 (11:55 -0000)
src/libstrongswan/utils/linked_list.c

index 585f284..45d17c8 100644 (file)
@@ -209,6 +209,7 @@ static bool iterate(private_iterator_t *this, void** value)
        {
                return FALSE;
        }
+       *value = this->current->value;
        return TRUE;
 }