Use the same dbus connection
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 16 Mar 2017 08:21:40 +0000 (09:21 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Fri, 17 Mar 2017 12:01:40 +0000 (13:01 +0100)
commita1ae7c362b0b7a65cad813a8def6c8eae72f33b2
treeeb5813a85f5fb660d230622bb5a6a97758caf50b
parenta3afdbb58800ea2b559585e321d4a18ed33c4655
Use the same dbus connection

Opening one connection per part of the
program doesn't make sense and waste resources.
Using a common one is much better.

Change-Id: I74dc3cd7ae41d7bfa2f03f4a252495e8f5f81578
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afm-user-daemon.c
src/utils-systemd.c