]> git.ipfire.org Git - thirdparty/systemd.git/commit
strv.c: simplify strv_new_ap 17493/head
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Fri, 30 Oct 2020 09:54:15 +0000 (10:54 +0100)
committerRasmus Villemoes <rasmus.villemoes@prevas.dk>
Tue, 3 Nov 2020 13:26:08 +0000 (14:26 +0100)
commit3d2b1fa473691cf9b7cbb407a5c75df4bf8b2ae3
treecf74e690c2677b1e603ad0051fea890c8e91161a
parentbd8e699c27fbc52dd7a2c232722ba59222d3d47d
strv.c: simplify strv_new_ap

Instead of duplicating the code for x and the varargs, handle them all the same
way by using for loops.
src/basic/strv.c