diff options
author | Max Kellermann <max@duempel.org> | 2008-11-06 06:44:19 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-06 06:44:19 +0100 |
commit | e2d7318a184a37e7e1094dc7e783c5b0c61b66c5 (patch) | |
tree | 8d268fd14abf05a6e8966e10ce34bae1230ec20c /src/decoder_control.h | |
parent | a8e81326d05892fb6b753c518412e73b7cad3ebe (diff) | |
download | mpd-e2d7318a184a37e7e1094dc7e783c5b0c61b66c5.tar.gz mpd-e2d7318a184a37e7e1094dc7e783c5b0c61b66c5.tar.xz mpd-e2d7318a184a37e7e1094dc7e783c5b0c61b66c5.zip |
input_curl: return 0 on error from read()
The read() method must not return a negative value. Make it return 0
on error, just like the file input stream. Also set the "error"
attribute to -1.
Diffstat (limited to 'src/decoder_control.h')
0 files changed, 0 insertions, 0 deletions