]> git.ipfire.org Git - thirdparty/systemd.git/commit
busctl: simplify peeking the type
authorLennart Poettering <lennart@poettering.net>
Mon, 16 Jan 2023 13:16:14 +0000 (14:16 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 16 Jan 2023 19:54:44 +0000 (20:54 +0100)
commitec56edf55c26ed2c65cf8e86b81ab0b516c94dd9
tree6034186a5e3843c3a89225594a448872ba6093df
parentea9dbf51c64337a48f4812213755c1197a50ed7a
busctl: simplify peeking the type

let's peek the type before we enter the variant, not after, so that we
can reuse it as-is, instead having to recombine it later.

Follow-up for: #26049
src/busctl/busctl.c