mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 19:40:18 -07:00
- Another patch by Attila to fix mingw32 compilation
This commit is contained in:
parent
8326cebf5c
commit
5133931302
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue