diff options
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; |