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:
parent
8326cebf5c
commit
5133931302
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user