]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/machine/machine-dbus.c
sd-bus: allow passing NULL as bus parameter to sd_bus_send()
authorLennart Poettering <lennart@poettering.net>
Wed, 29 Apr 2015 16:58:30 +0000 (18:58 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 29 Apr 2015 16:58:30 +0000 (18:58 +0200)
commit9030ca462bd13cd6536299814e4a71d5c5e85be9
tree43716aa3042f274b4578799725cfb03c5682e9d8
parent47ee3ee03483efd271642d5043070cbd171f19d4
sd-bus: allow passing NULL as bus parameter to sd_bus_send()

If NULL is specified for the bus it is now automatically derived from
the passed in message.

This commit also changes a number of invocations of sd_bus_send() to
make use of this.
src/core/dbus-manager.c
src/import/importd.c
src/libsystemd/sd-bus/sd-bus.c
src/login/logind-dbus.c
src/machine/machine-dbus.c
src/machine/machined-dbus.c