chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bus: it's OK to send messages with an empty payload but non-empty signature
[elogind.git]
/
src
/
libsystemd-bus
/
test-bus-marshal.c
diff --git
a/src/libsystemd-bus/test-bus-marshal.c
b/src/libsystemd-bus/test-bus-marshal.c
index da072c707f51658456989a0ea52d76f548f6c722..79d693992ad510d7e992c62a16c4ca62eb9dbdc5 100644
(file)
--- 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