diff options
author | Michael Vetter <jubalh@iodoru.org> | 2022-02-21 21:53:33 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2022-02-21 21:53:33 +0100 |
commit | e55f6d7f4d831d370001999d55dafea9888a4a9f (patch) | |
tree | 196a88df6d79acd8612ade7ba14992d92c01b56a /src | |
parent | 32f679896408927b8711817fdb9b5886f81dade5 (diff) | |
download | profani-tty-e55f6d7f4d831d370001999d55dafea9888a4a9f.tar.gz |
Set libstrophe log verbosity
Set this to 0. We might want to have this configurable later. For now we fix the valgrind report: ``` Conditional jump or move depends on uninitialised value xmpp_debug_verbose() ``` Which will be fixed in libstrophe > 0.11.0 by commit https://github.com/strophe/libstrophe/commit/28f3ce19b803b3c2628c37545e3f5b88e7ea1a55
Diffstat (limited to 'src')
-rw-r--r-- | src/xmpp/connection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c index 57de5ad1..c5475258 100644 --- a/src/xmpp/connection.c +++ b/src/xmpp/connection.c @@ -170,6 +170,7 @@ connection_connect(const char* const jid, const char* const passwd, const char* log_warning("Failed to get libstrophe ctx during connect"); return JABBER_DISCONNECTED; } + xmpp_ctx_set_verbosity(conn.xmpp_ctx, 0); conn.xmpp_conn = xmpp_conn_new(conn.xmpp_ctx); if (conn.xmpp_conn == NULL) { log_warning("Failed to get libstrophe conn during connect"); |