diff options
author | James Booth <boothj5@gmail.com> | 2016-03-31 21:05:02 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-03-31 21:05:02 +0100 |
commit | 9b177a9e0156bae0a7a01cb15b3afc982dd2582e (patch) | |
tree | 45ade45ae92ef543d06c29ccafeb48dea834ba35 /src/xmpp/connection.c | |
parent | c91ce78a0419dc3e624eeffdc870b549e5cdc64f (diff) | |
download | profani-tty-9b177a9e0156bae0a7a01cb15b3afc982dd2582e.tar.gz |
Removed #AX_PREFIX_CONFIG_H
Diffstat (limited to 'src/xmpp/connection.c')
-rw-r--r-- | src/xmpp/connection.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c index 0959470a..e760a0b7 100644 --- a/src/xmpp/connection.c +++ b/src/xmpp/connection.c @@ -32,16 +32,16 @@ * */ -#include "prof_config.h" +#include "config.h" #include <assert.h> #include <string.h> #include <stdlib.h> -#ifdef PROF_HAVE_LIBMESODE +#ifdef HAVE_LIBMESODE #include <mesode.h> #endif -#ifdef PROF_HAVE_LIBSTROPHE +#ifdef HAVE_LIBSTROPHE #include <strophe.h> #endif @@ -425,7 +425,7 @@ _connection_free_session_data(void) presence_clear_sub_requests(); } -#ifdef PROF_HAVE_LIBMESODE +#ifdef HAVE_LIBMESODE static int _connection_certfail_cb(xmpp_tlscert_t *xmpptlscert, const char *const errormsg) { @@ -544,7 +544,7 @@ _jabber_connect(const char *const fulljid, const char *const passwd, const char xmpp_conn_set_flags(jabber_conn.conn, XMPP_CONN_FLAG_DISABLE_TLS); } -#ifdef PROF_HAVE_LIBMESODE +#ifdef HAVE_LIBMESODE char *cert_path = prefs_get_string(PREF_TLS_CERTPATH); if (cert_path) { xmpp_conn_tlscert_path(jabber_conn.conn, cert_path); @@ -552,7 +552,7 @@ _jabber_connect(const char *const fulljid, const char *const passwd, const char prefs_free_string(cert_path); #endif -#ifdef PROF_HAVE_LIBMESODE +#ifdef HAVE_LIBMESODE int connect_status = xmpp_connect_client( jabber_conn.conn, altdomain, |