[systemd-devel] [PATCH 2/7] bus: fix bus_message_read_strv

Lennart Poettering lennart at poettering.net
Thu Nov 7 09:51:18 PST 2013


On Thu, 07.11.13 18:50, Lennart Poettering (lennart at poettering.net) wrote:

> On Thu, 07.11.13 13:48, Marc-Antoine Perennou (Marc-Antoine at Perennou.com) wrote:
> 
> > message_read_strv_extend returns 0 on success
> 
> Ah, hmm.
> 
> sd_bus_message_read_strv() was actually right,
> bus_message_read_strv_extend() isn't!
> 
> The rule is: we return 0 when we hit the end of an array and 1 on
> success. 

Oh, and I forgot to say: I fixed bus_message_read_strv_extend() now
accordingly.

Thanks!

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list