diff options
Diffstat (limited to 'src/sockets.cpp')
-rw-r--r-- | src/sockets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sockets.cpp b/src/sockets.cpp index 3f334e26e..cdf713f81 100644 --- a/src/sockets.cpp +++ b/src/sockets.cpp @@ -522,7 +522,7 @@ bool BufferedSocket::ProcessWrite() if (this->WriteBuffer.empty()) return true; int count = this->IO->Send(this, this->WriteBuffer); - if (count == -1) + if (count <= -1) return false; this->WriteBuffer = this->WriteBuffer.substr(count); if (this->WriteBuffer.empty()) |