mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-17 06:23:30 +03:00
fix(net): handle -1 return value from recv
This commit is contained in:
parent
13c55837d7
commit
27e0190fb9
@ -367,7 +367,7 @@ void WowConnection::DoStreamReads() {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bytesRead == 0) {
|
if (bytesRead <= 0) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user