aboutsummaryrefslogtreecommitdiffstats
path: root/src/input_curl.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-26 20:54:52 +0100
committerMax Kellermann <max@duempel.org>2008-10-26 20:54:52 +0100
commit464b6117721056e72c79824a298caf53eb5cd452 (patch)
treee4f304438f6bac7293c58ec185ba9fb805dec0b7 /src/input_curl.c
parentf08041f0eb8512304584b583073508629a934c88 (diff)
downloadmpd-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 'src/input_curl.c')
-rw-r--r--src/input_curl.c3
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