From c4e2bd206bb9248843a8a4d9a945c5e49a188474 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Wed, 9 Mar 2011 10:16:27 +0100 Subject: Add RSE_DISCO. --- lib/tcp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/tcp.c') diff --git a/lib/tcp.c b/lib/tcp.c index c315143..063e9b2 100644 --- a/lib/tcp.c +++ b/lib/tcp.c @@ -209,6 +209,7 @@ tcp_event_cb (struct bufferevent *bev, short events, void *user_data) if (sockerr == 0) /* FIXME: True that errno == 0 means closed? */ { event_on_disconnect (conn); + rs_err_conn_push_fl (pkt->conn, RSE_DISCO, __FILE__, __LINE__, NULL); } else { -- cgit v1.1