]> git.ipfire.org Git - thirdparty/systemd.git/commit
unit: allocate bus name match string on the stack 1595/head
authorLennart Poettering <lennart@poettering.net>
Sat, 17 Oct 2015 14:25:10 +0000 (16:25 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 17 Oct 2015 14:48:21 +0000 (16:48 +0200)
commit9806e87da22d0025d7c427907202e5751a6b5989
treef332a6d8036b62f444c42e42d9bc7a882f57db84
parent50e0d56cf37d8ca5b9162ab83906920392998623
unit: allocate bus name match string on the stack

Let's use strjoina() rather than strjoin() for construct dbus match
strings.

Also, while we are at it, fix parameter ordering, so that our functions
always put the object first, like it is customary for OO-like
programming.
src/core/dbus.c
src/core/unit.c
src/core/unit.h