input_stream: input_stream_close() returns void

close() shouldn't fail with read-only streams.
This commit is contained in:
Max Kellermann
2008-10-26 20:54:52 +01:00
parent f08041f0eb
commit 464b611772
4 changed files with 7 additions and 13 deletions

View File

@@ -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