mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 12:59:56 -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) {
|
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…
Add table
Add a link
Reference in a new issue