mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 23:07:59 +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) {
|
int getlineInStream(QDataStream& stream, string& name, char delim) {
|
||||||
char c;
|
char c;
|
||||||
int total_read = 0;
|
int total_read = 0;
|
||||||
|
int read;
|
||||||
do {
|
do {
|
||||||
int read = stream.readRawData(&c, 1);
|
read = stream.readRawData(&c, 1);
|
||||||
total_read += read;
|
total_read += read;
|
||||||
if(read > 0) {
|
if(read > 0) {
|
||||||
if(c != delim) {
|
if(c != delim) {
|
||||||
|
Loading…
Reference in New Issue
Block a user