]> git.ipfire.org Git - location/libloc.git/commit
network-list: Do not half list when popping the first element
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Nov 2020 14:42:26 +0000 (14:42 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 25 Nov 2020 14:42:26 +0000 (14:42 +0000)
commit673e03f7bfc807248a769cb00ec80f0fa2af7a25
treeccde831b21ea98ebec09a181dff0c9d13b8653c3
parentd42f34ce9b0aa2382ae9b852882c62b34d367cfe
network-list: Do not half list when popping the first element

The list was unfortunately halved in size every time an element
was taken from it, which was great for performance, but shortened
the result substantially.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/network-list.c