mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-27 16:12:13 +03:00
fix(net): handle -1 return value from recv
This commit is contained in:
1 file changed
+1
-1
@@ -367,7 +367,7 @@ void WowConnection::DoStreamReads() {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bytesRead == 0) {
|
if (bytesRead <= 0) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user