diff options
author | xengineering <me@xengineering.eu> | 2022-10-05 10:55:19 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2022-10-05 10:55:19 +0200 |
commit | 5489a2b6a4da7e119d1c3723664c43eceb1bdc35 (patch) | |
tree | a474a50c49f359eb4cff320fe6f9e1ec193da259 | |
parent | a286baee2e7d0bb53aa8e743d837595e2071eb05 (diff) | |
download | limox-5489a2b6a4da7e119d1c3723664c43eceb1bdc35.tar limox-5489a2b6a4da7e119d1c3723664c43eceb1bdc35.tar.zst limox-5489a2b6a4da7e119d1c3723664c43eceb1bdc35.zip |
Add FIXME for important error handling
-rw-r--r-- | net.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: |