summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/socket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.cpp b/src/socket.cpp
index 4b139c7f5..d28122b73 100644
--- a/src/socket.cpp
+++ b/src/socket.cpp
@@ -280,7 +280,7 @@ bool InspSocket::FlushWriteBuffer()
Buffer = n;
}
}
- else if (result == -1)
+ else if ((result == -1) && (errno != EAGAIN))
{
log(DEBUG,"Write error on socket: %s",strerror(errno));
this->OnError(I_ERR_WRITE);