bus: bus_message_read_strv_extend() should return 1 on success
Like all other message read calls bus_message_read_strv_extend() needs to return 1 on sucess, and 0 on end of array.
This commit is contained in:
@@ -4435,7 +4435,7 @@ int bus_message_read_strv_extend(sd_bus_message *m, char ***l) {
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
_public_ int sd_bus_message_read_strv(sd_bus_message *m, char ***l) {
|
||||
|
||||
Reference in New Issue
Block a user