downloader - binary write on resume
This commit is contained in:
parent
dc2a87cabf
commit
21c8cefef2
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ void FileGet::priv::get_perform()
|
|||
if (m_written == 0)
|
||||
file = fopen(temp_path_wstring.c_str(), "wb");
|
||||
else
|
||||
file = fopen(temp_path_wstring.c_str(), "a");
|
||||
file = fopen(temp_path_wstring.c_str(), "ab");
|
||||
|
||||
assert(file != NULL);
|
||||
|
||||
|
|
Loading…
Reference in a new issue