aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputStream.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-17 17:53:59 +0200
committerMax Kellermann <max@duempel.org>2008-10-17 17:53:59 +0200
commit4984639b7255d72e272f278c95adb1a2cf71b61c (patch)
tree4751fbdef706d62b77d41c411462fbf6f852f384 /src/inputStream.c
parentb73ecbb073625b56aaef33f2fa7f102fdc9a6247 (diff)
downloadmpd-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.c4
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)