forked from pool/ktorrent
12 lines
333 B
Diff
12 lines
333 B
Diff
--- plugins/webinterface/httpserver.cpp
|
|
+++ plugins/webinterface/httpserver.cpp
|
|
@@ -468,7 +468,7 @@ namespace kt
|
|
|
|
QDataStream out(&tmp_file);
|
|
out.writeRawData(ptr + (pos + 4),len - (pos + 4));
|
|
- out << flush;
|
|
+ tmp_file.flush();
|
|
tmp_file.close();
|
|
|
|
Out(SYS_WEB|LOG_NOTICE) << "Loading file " << save_file << endl;
|