Small fix.

This commit is contained in:
zaxar163 2018-09-26 16:34:44 +03:00
parent 8a762f1d84
commit d015ab05aa

View file

@ -43,7 +43,7 @@ public File getFile() {
public void downloadFile() throws IOException {
try (BufferedInputStream in = new BufferedInputStream(url.openStream()); FileOutputStream fout = new FileOutputStream(file, skip != 0)) {
final byte data[] = new byte[IOHelper.BUFFER_SIZE];
int count;
int count = -1;
long timestamp = System.currentTimeMillis();
int writed_local = 0;
in.skip(skip);