From 01ad4251c8bc2cc240f7173b7267426085f7e5bb Mon Sep 17 00:00:00 2001 From: Determinant Date: Sun, 13 Oct 2019 15:07:56 -0400 Subject: ... --- include/salticidae/network.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/salticidae/network.h b/include/salticidae/network.h index 6f7a034..5b4cd7d 100644 --- a/include/salticidae/network.h +++ b/include/salticidae/network.h @@ -590,7 +590,7 @@ void MsgNetwork::on_read(const ConnPool::conn_t &_conn) { conn->ev_socket.del(); conn->ev_socket.add(FdEvent::READ | (conn->ready_send ? 0: FdEvent::WRITE)); - conn->send_data_func(conn, conn->fd, FdEvent::READ); + conn->recv_data_func(conn, conn->fd, FdEvent::READ); } } -- cgit v1.2.3-70-g09d2