aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2018-07-12 18:04:52 -0400
committerDeterminant <[email protected]>2018-07-12 18:04:52 -0400
commit53f4c5137da249e5e955809ffe32afa3cf5c3522 (patch)
tree0b187dc8e2d2d86a223ab79c42bdc471c40bc569 /src
parent33faa8e355dc47a126790f1ea3e52d1813aedc69 (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 b323340..2bcd0ae 100644
--- a/src/conn.cpp
+++ b/src/conn.cpp
@@ -165,7 +165,7 @@ void ConnPool::Conn::conn_server(evutil_socket_t fd, short events) {
std::bind(&Conn::send_data, this, _1, _2));
ev_read.add();
ev_write.add();
- ev_connect.clear();
+ ev_connect.del();
ready_send = false;
SALTICIDAE_LOG_INFO("connected to peer %s", std::string(*this).c_str());
on_setup();