summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/test-bus-marshal.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-05 02:46:54 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-05 02:47:36 +0100
commitc1b9d935725103e95901f347b8981647ce4dd546 (patch)
tree4f5474c2022f7812d7e261b29896e89de14cf490 /src/libsystemd-bus/test-bus-marshal.c
parent65dae17a2f890b12a07dd4901b3db02b1031c463 (diff)
bus: add support for serializing to gvariant
(deserialization is still missing, hence this is not hooked up to kdbus)
Diffstat (limited to 'src/libsystemd-bus/test-bus-marshal.c')
-rw-r--r--src/libsystemd-bus/test-bus-marshal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-bus/test-bus-marshal.c b/src/libsystemd-bus/test-bus-marshal.c
index da072c707f..79d693992a 100644
--- a/src/libsystemd-bus/test-bus-marshal.c
+++ b/src/libsystemd-bus/test-bus-marshal.c
@@ -163,9 +163,9 @@ int main(int argc, char *argv[]) {
dbus_error_init(&error);
w = dbus_message_demarshal(buffer, sz, &error);
- if (!w) {
+ if (!w)
log_error("%s", error.message);
- } else
+ else
dbus_message_unref(w);
}
#endif