diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 03:50:45 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 03:50:45 +0000 |
commit | efeb864cb547a2cbf96dc0053a8bdb4d9190b364 (patch) | |
tree | c0b83368f18be983fcc763200c4c24d633244588 /man/sd-bus-container-append.c | |
parent | Releasing progress-linux version 255.5-1~progress7.99u1. (diff) | |
download | systemd-efeb864cb547a2cbf96dc0053a8bdb4d9190b364.tar.xz systemd-efeb864cb547a2cbf96dc0053a8bdb4d9190b364.zip |
Merging upstream version 256.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man/sd-bus-container-append.c')
-rw-r--r-- | man/sd-bus-container-append.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/man/sd-bus-container-append.c b/man/sd-bus-container-append.c index 8bb4f33..07a24f2 100644 --- a/man/sd-bus-container-append.c +++ b/man/sd-bus-container-append.c @@ -3,13 +3,14 @@ #include <systemd/sd-bus.h> int append_strings_to_message(sd_bus_message *m, const char *const *arr) { + const char *s; int r; r = sd_bus_message_open_container(m, 'a', "s"); if (r < 0) return r; - for (const char *s = *arr; *s; s++) { + for (s = *arr; *s; s++) { r = sd_bus_message_append(m, "s", s); if (r < 0) return r; |