diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-11 17:38:49 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-11 17:38:49 +0000 |
commit | 381412179424cac7961c31421f2768ef971783db (patch) | |
tree | 6eaec5fca4523aecca53c786307f42a046aa4286 /src/socket.cpp | |
parent | db20c20a945e2107e1a9c66d62127c0833075ea8 (diff) |
Re-enterant safety
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3666 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socket.cpp')
-rw-r--r-- | src/socket.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/socket.cpp b/src/socket.cpp index f4e6a5a6a..508d638cf 100644 --- a/src/socket.cpp +++ b/src/socket.cpp @@ -278,7 +278,6 @@ bool InspSocket::FlushWriteBuffer() log(DEBUG,"Write error on socket: %s",strerror(errno)); this->OnError(I_ERR_WRITE); this->state = I_ERROR; - this->fd = -1; return true; } } @@ -299,7 +298,6 @@ bool InspSocket::Timeout(time_t current) this->OnError(I_ERR_TIMEOUT); timeout = true; this->state = I_ERROR; - this->fd = -1; return true; } return this->FlushWriteBuffer(); |