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.
_______________________________________________
mpd-devel mailing list
mpd-devel@musicpd.org
http://mailman.blarg.de/listinfo/mpd-devel

Reply via email to