diff options
author | Max Kellermann <max@duempel.org> | 2008-10-17 17:53:59 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-17 17:53:59 +0200 |
commit | 4984639b7255d72e272f278c95adb1a2cf71b61c (patch) | |
tree | 4751fbdef706d62b77d41c411462fbf6f852f384 /src/inputStream_http.h | |
parent | b73ecbb073625b56aaef33f2fa7f102fdc9a6247 (diff) | |
download | mpd-4984639b7255d72e272f278c95adb1a2cf71b61c.tar.gz mpd-4984639b7255d72e272f278c95adb1a2cf71b61c.tar.xz mpd-4984639b7255d72e272f278c95adb1a2cf71b61c.zip |
input_stream: removed nmemb argument
The nmemb argument isn't actually useful, and one of nmemb and size
was always passed as 1. Remove it.
Diffstat (limited to 'src/inputStream_http.h')
-rw-r--r-- | src/inputStream_http.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/inputStream_http.h b/src/inputStream_http.h index 7ab23a5de..01d70c1eb 100644 --- a/src/inputStream_http.h +++ b/src/inputStream_http.h @@ -27,8 +27,7 @@ int inputStream_httpOpen(InputStream * inStream, char *filename); int inputStream_httpSeek(InputStream * inStream, long offset, int whence); -size_t inputStream_httpRead(InputStream * inStream, void *ptr, size_t size, - size_t nmemb); +size_t inputStream_httpRead(InputStream * inStream, void *ptr, size_t size); int inputStream_httpClose(InputStream * inStream); |