diff options
author | Determinant <[email protected]> | 2018-11-19 10:32:10 -0500 |
---|---|---|
committer | Determinant <[email protected]> | 2018-11-19 10:32:10 -0500 |
commit | d088f1826ab704c9b932765458591c052e939bbc (patch) | |
tree | 94a1528b93e535478212192eabd393c70ceed960 /include | |
parent | c4071ef01a1869daa09e3bf3ac982fe8103492ac (diff) |
remove redundant check
Diffstat (limited to 'include')
-rw-r--r-- | include/salticidae/conn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/salticidae/conn.h b/include/salticidae/conn.h index ea5ccf2..a60cd8f 100644 --- a/include/salticidae/conn.h +++ b/include/salticidae/conn.h @@ -204,7 +204,7 @@ class ConnPool { .get_queue() .reg_handler(this->ec, [conn, client_fd] (MPSCWriteBuffer::queue_t &) { - if (conn->ready_send && conn->self_ref) + if (conn->ready_send) { conn->ev_socket.del(); conn->ev_socket.add(Event::READ | Event::WRITE); |