diff options
| author | 2006-05-06 15:32:13 +0000 | |
|---|---|---|
| committer | 2006-05-06 15:32:13 +0000 | |
| commit | 600d241c05cd28e5fc566a4b2eb6abc79aff4735 (patch) | |
| tree | b4cd870dec6700b21b52ec73d06795c650d7f6ee /src/users.cpp | |
| parent | Return false; was missing (diff) | |
Backport of EAGAIN check
git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@3932 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index e67ad7cec..2e7ba7947 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -388,7 +388,8 @@ void userrec::FlushWriteBuf() int n_sent = write(this->fd,tb,this->sendq.length()); if (n_sent == -1) { - this->SetWriteError(strerror(errno)); + if (errno != EAGAIN) + this->SetWriteError(strerror(errno)); } else { |
