aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2019-10-13 15:07:56 -0400
committerDeterminant <ted.sybil@gmail.com>2019-10-13 15:07:56 -0400
commit01ad4251c8bc2cc240f7173b7267426085f7e5bb (patch)
treea5a83a7cce841db7b000d3e68caef451922fe748 /src
parent3505e9d33eab6d341185773c1da315b2dc833a21 (diff)
...
Diffstat (limited to 'src')
-rw-r--r--src/conn.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}