Make sure the enumerator stops after all items have been enumerated.
authorTobias Brunner <tobias@strongswan.org>
Thu, 9 Jun 2011 07:49:28 +0000 (09:49 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 6 Jul 2011 07:43:46 +0000 (09:43 +0200)
commit2bf9d39da64382e143b7201ec12888e42279da93
tree236da89468b4e1d786d08abdf0f45450b1500e1d
parentc225f9b5585e1589d98a77b089924a8d4a70e216
Make sure the enumerator stops after all items have been enumerated.

This also changes how insert_before behaves, before enumeration items
are inserted first, after enumeration last.
src/libstrongswan/utils/linked_list.c
src/libstrongswan/utils/linked_list.h