1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 14:57:52 +00:00

- Another patch by Attila to fix mingw32 compilation

This commit is contained in:
Christophe Dumez 2008-12-12 09:20:47 +00:00
parent 8326cebf5c
commit 5133931302

View File

@ -250,8 +250,9 @@ class FilterParserThread : public QThread {
int getlineInStream(QDataStream& stream, string& name, char delim) {
char c;
int total_read = 0;
int read;
do {
int read = stream.readRawData(&c, 1);
read = stream.readRawData(&c, 1);
total_read += read;
if(read > 0) {
if(c != delim) {