minor
This commit is contained in:
@@ -331,7 +331,9 @@ func ReadUrlAsStream(fileUrl string, cipherKey []byte, isContentGzipped bool, is
|
||||
|
||||
for {
|
||||
m, err = reader.Read(buf)
|
||||
fn(buf[:m])
|
||||
if m > 0 {
|
||||
fn(buf[:m])
|
||||
}
|
||||
if err == io.EOF {
|
||||
return false, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user