aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-18 19:58:42 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-18 19:58:42 +0000
commit8613178a139043155bf20abe89feb2815d14ce41 (patch)
tree0d0b1d7e4a7b504a4107e06b987a0d3d9d25d7fd
parent00fa2e38e7d0dc863c30c3e1ed98ffa0be52f268 (diff)
downloadmpd-8613178a139043155bf20abe89feb2815d14ce41.tar.gz
mpd-8613178a139043155bf20abe89feb2815d14ce41.tar.xz
mpd-8613178a139043155bf20abe89feb2815d14ce41.zip
slight fix for IS_file
git-svn-id: https://svn.musicpd.org/mpd/trunk@1069 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/inputStream_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inputStream_file.c b/src/inputStream_file.c
index b71beea95..876d10c5a 100644
--- a/src/inputStream_file.c
+++ b/src/inputStream_file.c
@@ -69,7 +69,7 @@ size_t inputStream_fileRead(InputStream * inStream, void * ptr, size_t size,
readSize = fread(ptr,size,nmemb,(FILE *)inStream->data);
- if(readSize>0) inStream->offset+=readSize;
+ if(readSize>0) inStream->offset+=readSize*size;
return readSize;
}