SHA256
1
0
forked from pool/ktorrent
ktorrent/function-address.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;