]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: map enum strings to underscores in logind 36376/head
authorLennart Poettering <lennart@poettering.net>
Thu, 13 Feb 2025 17:16:18 +0000 (18:16 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 13 Feb 2025 17:16:20 +0000 (18:16 +0100)
commit2d790b225d40d85a35319b71230f9a6a6c8b5db1
tree4d23a224789c01d516ad2ec41dbc66c9b2e026a0
parent0c69a67294b3d96714fd7deb29e5b51df23086c1
logind: map enum strings to underscores in logind

Varlink doesn't know dashes in enums, we use them all the time. Convert
dashes to underscores hence before we pass them through varlink.
src/login/logind-varlink.c