[Commits] [SCM] claws branch, master, updated. 3.10.1-143-g2abdcb2

claws at claws-mail.org claws at claws-mail.org
Tue Aug 5 08:21:08 CEST 2014


The branch, master has been updated
       via  2abdcb244e83a991a60435fead2dd1b87b26631c (commit)
      from  c8d32f0ab3a9c936952acc2d40e4f9fa64817e7d (commit)

Summary of changes:
 src/etpan/imap-thread.c |    9 ++++-----
 src/etpan/nntp-thread.c |    3 ++-
 2 files changed, 6 insertions(+), 6 deletions(-)


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

    fix building without gnuTLS support

diff --git a/src/etpan/imap-thread.c b/src/etpan/imap-thread.c
index 87effcc..229f29e 100644
--- 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
index 1161dd1..7d02b04 100644
--- 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)
 {

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list