From 53f4c5137da249e5e955809ffe32afa3cf5c3522 Mon Sep 17 00:00:00 2001
From: Determinant <ted.sybil@gmail.com>
Date: Thu, 12 Jul 2018 18:04:52 -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 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();
-- 
cgit v1.2.3-70-g09d2