sd-bus: export sd_bus_message_read_strv_extend()

The same story as before: it's a useful helper, other uses of the library
are likely to find it useful.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2022-06-30 10:35:27 +02:00
parent 944c124330
commit cf2edf1d5c
5 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ int bus_map_strv_sort(sd_bus *bus, const char *member, sd_bus_message *m, sd_bus
char ***p = userdata;
int r;
r = bus_message_read_strv_extend(m, &l);
r = sd_bus_message_read_strv_extend(m, &l);
if (r < 0)
return r;
@@ -75,7 +75,7 @@ static int map_basic(sd_bus *bus, const char *member, sd_bus_message *m, unsigne
_cleanup_strv_free_ char **l = NULL;
char ***p = userdata;
r = bus_message_read_strv_extend(m, &l);
r = sd_bus_message_read_strv_extend(m, &l);
if (r < 0)
return r;