summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-bus
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-03-06 23:24:20 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-03-06 23:24:20 -0500
commiteffbc8e4f70fc70e4a4a8a1dc77228dd187f9c22 (patch)
tree68eb8ca6be6b7253d093e42992368cad51271809 /src/libsystemd/sd-bus
parenta0e5b17733f2146d727edfdb0ebf8482a8c3bf6c (diff)
man: describe functions for appending to messages
Diffstat (limited to 'src/libsystemd/sd-bus')
-rw-r--r--src/libsystemd/sd-bus/test-bus-marshal.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsystemd/sd-bus/test-bus-marshal.c b/src/libsystemd/sd-bus/test-bus-marshal.c
index 85aaf95d6c..d438a231a6 100644
--- a/src/libsystemd/sd-bus/test-bus-marshal.c
+++ b/src/libsystemd/sd-bus/test-bus-marshal.c
@@ -79,6 +79,9 @@ int main(int argc, char *argv[]) {
r = sd_bus_message_new_method_call(NULL, &m, "foobar.waldo", "/", "foobar.waldo", "Piep");
assert_se(r >= 0);
+ r = sd_bus_message_append(m, "");
+ assert_se(r >= 0);
+
r = sd_bus_message_append(m, "s", "a string");
assert_se(r >= 0);