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.c | |
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 '')
-rw-r--r-- | src/inputStream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inputStream.c b/src/inputStream.c index 5805018f2..c82a16b2e 100644 --- a/src/inputStream.c +++ b/src/inputStream.c @@ -54,9 +54,9 @@ int seekInputStream(struct input_stream *inStream, long offset, int whence) } size_t readFromInputStream(struct input_stream *inStream, - void *ptr, size_t size, size_t nmemb) + void *ptr, size_t size) { - return inStream->readFunc(inStream, ptr, size, nmemb); + return inStream->readFunc(inStream, ptr, size); } int closeInputStream(struct input_stream *inStream) |