mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
fix(net): handle -1 return value from recv
This commit is contained in:
parent
13c55837d7
commit
27e0190fb9
1 changed files with 1 additions and 1 deletions
|
|
@ -367,7 +367,7 @@ void WowConnection::DoStreamReads() {
|
|||
#endif
|
||||
}
|
||||
|
||||
if (bytesRead == 0) {
|
||||
if (bytesRead <= 0) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue