diff options
author | Max Kellermann <max@duempel.org> | 2009-10-13 16:24:28 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-10-13 16:24:28 +0200 |
commit | 6037beabe1b704093620704d279cda43d4874c4e (patch) | |
tree | 0ba157650434166157c9918bc486a665c60c71bd /src/zeroconf.c | |
parent | 9a3f5ff977951781453fbe1e597dbd6eb5f7494a (diff) | |
download | mpd-6037beabe1b704093620704d279cda43d4874c4e.tar.gz mpd-6037beabe1b704093620704d279cda43d4874c4e.tar.xz mpd-6037beabe1b704093620704d279cda43d4874c4e.zip |
input/curl: fixed endless loop during buffering
When the connection is lost while buffering, the CURL input plugin may
enter an endless loop, because it does not check the EOF condition.
This patch makes fill_buffer() return success only if there's at least
one buffer, which is enough of a check.x
Diffstat (limited to 'src/zeroconf.c')
0 files changed, 0 insertions, 0 deletions