1
0
Fork 0

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
28f3ce19b8
This commit is contained in:
Michael Vetter 2022-02-21 21:53:33 +01:00
parent 32f6798964
commit e55f6d7f4d
1 changed files with 1 additions and 0 deletions

View File

@ -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");