aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm_resample_fallback.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-06 06:44:19 +0100
committerMax Kellermann <max@duempel.org>2008-11-06 06:44:19 +0100
commite2d7318a184a37e7e1094dc7e783c5b0c61b66c5 (patch)
tree8d268fd14abf05a6e8966e10ce34bae1230ec20c /src/pcm_resample_fallback.c
parenta8e81326d05892fb6b753c518412e73b7cad3ebe (diff)
downloadmpd-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/pcm_resample_fallback.c')
0 files changed, 0 insertions, 0 deletions