diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-11-07 18:46:22 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-11-07 18:46:22 +0100 |
commit | 405cd3aa0b80706331bb0255b95e3265ba8c264e (patch) | |
tree | 826abbad54bc2f4a32b34490deea3ba97389a948 /src | |
parent | 2efa7e1b2514ee6a84d9b5bae84bd16f78461409 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd-bus/bus-message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-message.c b/src/libsystemd-bus/bus-message.c index abc1ae42c8..b6972ac126 100644 --- a/src/libsystemd-bus/bus-message.c +++ b/src/libsystemd-bus/bus-message.c @@ -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) { |