[systemd-commits] src/core

Lennart Poettering lennart at kemper.freedesktop.org
Thu Nov 21 12:18:29 PST 2013


 src/core/dbus-client-track.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ceb19081fec38003064bcbc3aa3fcbdcf478a797
Author: Lennart Poettering <lennart at poettering.net>
Date:   Thu Nov 21 21:17:34 2013 +0100

    core: fix serialization of client tracker

diff --git a/src/core/dbus-client-track.c b/src/core/dbus-client-track.c
index 4a5bdef..d98f21d 100644
--- a/src/core/dbus-client-track.c
+++ b/src/core/dbus-client-track.c
@@ -202,9 +202,9 @@ void bus_client_track_serialize(Manager *m, FILE *f, Set *s) {
 
         SET_FOREACH(c, s, i) {
                 if (c->bus == m->api_bus)
-                        fprintf(f, "subscribed=%s", isempty(c->name) ? "*" : c->name);
+                        fprintf(f, "subscribed=%s\n", isempty(c->name) ? "*" : c->name);
                 else
-                        fprintf(f, "subscribed=%p %s", c->bus, isempty(c->name) ? "*" : c->name);
+                        fprintf(f, "subscribed=%p %s\n", c->bus, isempty(c->name) ? "*" : c->name);
         }
 }
 



More information about the systemd-commits mailing list