From 7d19db88b580f0c488b3808aeb812d0d7403b25d Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 7 Mar 2006 17:34:02 +0000 Subject: Exception to the rules for EAGAIN git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3519 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/socket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3