summaryrefslogtreecommitdiff
path: root/lib/tcp.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-03-09 10:16:27 +0100
committerLinus Nordberg <linus@nordu.net>2011-03-09 10:16:27 +0100
commitc4e2bd206bb9248843a8a4d9a945c5e49a188474 (patch)
treec18950810e67978078d188d8cc7f444efa975116 /lib/tcp.c
parentfac0219dad91c574417f78ec674aa0dd10949e15 (diff)
Add RSE_DISCO.
Diffstat (limited to 'lib/tcp.c')
-rw-r--r--lib/tcp.c1
1 files changed, 1 insertions, 0 deletions
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
{