core: fix number of bytes read in function dir_file_copy
This commit is contained in:
parent
5253478279
commit
b585ec09f8
@ -592,7 +592,7 @@ dir_file_copy (const char *from, const char *to)
|
||||
|
||||
while (!feof (src))
|
||||
{
|
||||
count = fread (buffer, 1, 65535, src);
|
||||
count = fread (buffer, 1, 65536, src);
|
||||
if (count <= 0)
|
||||
goto end;
|
||||
if (fwrite (buffer, 1, count, dst) <= 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user