From 5489a2b6a4da7e119d1c3723664c43eceb1bdc35 Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 5 Oct 2022 10:55:19 +0200 Subject: Add FIXME for important error handling --- net.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net.c b/net.c index 6c2ae17..970ede8 100644 --- a/net.c +++ b/net.c @@ -74,6 +74,8 @@ static int roster_handler(xmpp_conn_t *conn, xmpp_stanza_t *stanza, static void conn_handler(xmpp_conn_t *conn, xmpp_conn_event_t status,int error, xmpp_stream_error_t *stream_error, void *userdata) { + // FIXME handle error and stream_error (this could be a major bug) + switch (status) { case XMPP_CONN_CONNECT: -- cgit v1.2.3-70-g09d2