]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: add a common function for bus calls that return unit dbus path
authorLennart Poettering <lennart@poettering.net>
Mon, 1 Apr 2019 15:49:27 +0000 (17:49 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 1 Apr 2019 20:34:03 +0000 (05:34 +0900)
commit4659bf6f76a6aac090eade93beb0fc8079c33504
tree60b645eb9700ecbfa762e34c1cb51ed87a93657b
parent6872bd4721b7b65fa41f160b55a9474c7fdaaaf0
core: add a common function for bus calls that return unit dbus path

Let's shorten the code a bit by using a single function for similar
cases.

No change in behaviour, just some refactoring and shortening.
src/core/dbus-manager.c