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)
|
if (m_written == 0)
|
||||||
file = fopen(temp_path_wstring.c_str(), "wb");
|
file = fopen(temp_path_wstring.c_str(), "wb");
|
||||||
else
|
else
|
||||||
file = fopen(temp_path_wstring.c_str(), "a");
|
file = fopen(temp_path_wstring.c_str(), "ab");
|
||||||
|
|
||||||
assert(file != NULL);
|
assert(file != NULL);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue