talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 2abdcb244e83a991a60435fead2dd1b87b26631c
parent c8d32f0ab3a9c936952acc2d40e4f9fa64817e7d
Author: Paul <paul@claws-mail.org>
Date:   Tue,  5 Aug 2014 07:20:59 +0100

fix building without gnuTLS support

Diffstat:
Msrc/etpan/imap-thread.c | 9++++-----
Msrc/etpan/nntp-thread.c | 3++-
2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/etpan/imap-thread.c b/src/etpan/imap-thread.c @@ -523,7 +523,7 @@ int imap_threaded_connect(Folder * folder, const char * server, int port) return result.error; } - +#ifdef USE_GNUTLS static void connect_ssl_run(struct etpan_thread_op * op) { int r; @@ -586,7 +586,7 @@ int imap_threaded_connect_ssl(Folder * folder, const char * server, int port) return result.error; } - +#endif struct capa_param { mailimap * imap; }; @@ -1053,7 +1053,7 @@ int imap_threaded_noop(Folder * folder, unsigned int * p_exists, return result.error; } - +#ifdef USE_GNUTLS struct starttls_result { int error; }; @@ -1126,8 +1126,7 @@ int imap_threaded_starttls(Folder * folder, const gchar *host, int port) } return result.error; } - - +#endif struct create_param { mailimap * imap; diff --git a/src/etpan/nntp-thread.c b/src/etpan/nntp-thread.c @@ -377,7 +377,7 @@ int nntp_threaded_connect(Folder * folder, const char * server, int port) return result.error; } - +#ifdef USE_GNUTLS static void connect_ssl_run(struct etpan_thread_op * op) { int r; @@ -439,6 +439,7 @@ int nntp_threaded_connect_ssl(Folder * folder, const char * server, int port) return result.error; } +#endif void nntp_threaded_disconnect(Folder * folder) {