diff options
author | Max Kellermann <max@duempel.org> | 2009-01-15 16:12:44 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-15 16:16:57 +0100 |
commit | a7461dc27d697489b7608b020788c251b992b6c3 (patch) | |
tree | 5459329030798ef4f2b80cf62bbf091128c00568 /src/archive_api.c | |
parent | f1790fc8bf1fe46f977b6ecad0e1cd03b7edde82 (diff) | |
download | mpd-a7461dc27d697489b7608b020788c251b992b6c3.tar.gz mpd-a7461dc27d697489b7608b020788c251b992b6c3.tar.xz mpd-a7461dc27d697489b7608b020788c251b992b6c3.zip |
input_curl: don't call input_curl_select() when already at EOF
Calling input_curl_select() after EOF has been reached causes an
assertion failure. This can happen if the HTTP response is empty.
Check c->eof before calling input_curl_select().
Diffstat (limited to 'src/archive_api.c')
0 files changed, 0 insertions, 0 deletions