diff options
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index 7da7d6b09..8b9227083 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -741,7 +741,7 @@ void userrec::FlushWriteBuf() { /* Fatal error, set write error and bail */ - this->SetWriteError(strerror(errno)); + this->SetWriteError(errno ? strerror(errno) : "EOF from client"); return; } } |