diff options
author | James Booth <boothj5@gmail.com> | 2016-05-07 23:29:19 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-05-07 23:29:19 +0100 |
commit | 2f61f8d646ae9ab06d31438f9468e9a7e4e7582c (patch) | |
tree | 69188665357ac72302a71cb4398ebbdf54ad7893 /src/xmpp | |
parent | 6ce8edc194f76e5a95d99887f378c0fee1202366 (diff) | |
download | profani-tty-2f61f8d646ae9ab06d31438f9468e9a7e4e7582c.tar.gz |
Move xmpp_initialise() to conneciton.c
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/connection.c | 1 | ||||
-rw-r--r-- | src/xmpp/session.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c index bcce14be..2fa0f200 100644 --- a/src/xmpp/connection.c +++ b/src/xmpp/connection.c @@ -78,6 +78,7 @@ static int _connection_certfail_cb(xmpp_tlscert_t *xmpptlscert, const char *cons void connection_init(void) { + xmpp_initialize(); conn.conn_status = JABBER_STARTED; conn.presence_message = NULL; conn.xmpp_conn = NULL; diff --git a/src/xmpp/session.c b/src/xmpp/session.c index 8634a585..2ea0bcc2 100644 --- a/src/xmpp/session.c +++ b/src/xmpp/session.c @@ -96,7 +96,6 @@ session_init(void) connection_init(); presence_sub_requests_init(); caps_init(); - xmpp_initialize(); } jabber_conn_status_t |