diff options
author | Max Kellermann <max@duempel.org> | 2008-10-26 20:54:52 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-26 20:54:52 +0100 |
commit | 464b6117721056e72c79824a298caf53eb5cd452 (patch) | |
tree | e4f304438f6bac7293c58ec185ba9fb805dec0b7 /src/input_curl.c | |
parent | f08041f0eb8512304584b583073508629a934c88 (diff) | |
download | mpd-464b6117721056e72c79824a298caf53eb5cd452.tar.gz mpd-464b6117721056e72c79824a298caf53eb5cd452.tar.xz mpd-464b6117721056e72c79824a298caf53eb5cd452.zip |
input_stream: input_stream_close() returns void
close() shouldn't fail with read-only streams.
Diffstat (limited to '')
-rw-r--r-- | src/input_curl.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input_curl.c b/src/input_curl.c index 09e73c3e2..e34ef5e22 100644 --- a/src/input_curl.c +++ b/src/input_curl.c @@ -235,11 +235,10 @@ input_curl_read(struct input_stream *is, void *ptr, size_t size) return nbytes; } -static int +static void input_curl_close(struct input_stream *is) { input_curl_free(is); - return 0; } static int |