summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-10-05 10:55:19 +0200
committerxengineering <me@xengineering.eu>2022-10-05 10:55:19 +0200
commit5489a2b6a4da7e119d1c3723664c43eceb1bdc35 (patch)
treea474a50c49f359eb4cff320fe6f9e1ec193da259
parenta286baee2e7d0bb53aa8e743d837595e2071eb05 (diff)
downloadlimox-5489a2b6a4da7e119d1c3723664c43eceb1bdc35.tar
limox-5489a2b6a4da7e119d1c3723664c43eceb1bdc35.tar.zst
limox-5489a2b6a4da7e119d1c3723664c43eceb1bdc35.zip
Add FIXME for important error handling
-rw-r--r--net.c2
1 files changed, 2 insertions, 0 deletions
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: