aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2019-10-13 15:07:56 -0400
committerDeterminant <[email protected]>2019-10-13 15:07:56 -0400
commit01ad4251c8bc2cc240f7173b7267426085f7e5bb (patch)
treea5a83a7cce841db7b000d3e68caef451922fe748 /include
parent3505e9d33eab6d341185773c1da315b2dc833a21 (diff)
...
Diffstat (limited to 'include')
-rw-r--r--include/salticidae/network.h2
1 files changed, 1 insertions, 1 deletions
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<OpcodeType>::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);
}
}