From 01ad4251c8bc2cc240f7173b7267426085f7e5bb Mon Sep 17 00:00:00 2001 From: Determinant Date: Sun, 13 Oct 2019 15:07:56 -0400 Subject: ... --- src/conn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/conn.cpp b/src/conn.cpp index a627a15..6a44a36 100644 --- a/src/conn.cpp +++ b/src/conn.cpp @@ -179,7 +179,7 @@ void ConnPool::Conn::_send_data_tls(const conn_t &conn, int fd, int events) { } } conn->ev_socket.del(); - conn->ev_socket.add(conn->ready_recv ? : FdEvent::READ); + conn->ev_socket.add(conn->ready_recv ? 0 : FdEvent::READ); /* consumed the buffer but endpoint still seems to be writable */ conn->ready_send = true; } -- cgit v1.2.3-70-g09d2