chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 07:18:43 +0000 (08:18 +0100)
commitdb9d657feb727d338d64b9a51cb25de6f20eeae4
treec0d451cb03302383e07e854c1c4048c17b31e70f
parent81295bb5aced5d5350db11b0e9bb284e22d2ac37
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/libelogind/sd-bus/sd-bus.c
src/login/logind-dbus.c