On Fri, May 29, 2015, at 22:30, Max Kellermann wrote: > On 2015/05/22 08:47, Thomas Guillem <tho...@gllm.fr> wrote: > > Maybe I should return 0 in case of error like the Read method. > > Or make it a bool return value: true on success (all was read) or > false on everything else. > > I mean, what's the point of this return value being a number of bytes? > The caller wants exactly this number of bytes and nothing else.
I agree, I'll send new patches _______________________________________________ mpd-devel mailing list mpd-devel@musicpd.org http://mailman.blarg.de/listinfo/mpd-devel