slight fix for IS_file
git-svn-id: https://svn.musicpd.org/mpd/trunk@1069 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
00fa2e38e7
commit
8613178a13
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user