[balsa] assistant_page_directory: adapt to new API



commit dadb8311d576e94df1bf9c3605cc9b2eafe7336e
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Fri Jun 15 15:36:41 2018 -0400

    assistant_page_directory: adapt to new API
    
    * libinit_balsa/assistant_page_directory.c (unconditional_mailbox):
      adapt to new libbalsa_server_set_host() API.

 ChangeLog                                | 6 ++++++
 libinit_balsa/assistant_page_directory.c | 4 +++-
 2 files changed, 9 insertions(+), 1 deletion(-)
---
diff --git a/ChangeLog b/ChangeLog
index f9c9def30..a6f48aca9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-06-15  Peter Bloomfield  <pbloomfield bellsouth net>
+
+       * libinit_balsa/assistant_page_directory.c
+       (unconditional_mailbox): adapt to new libbalsa_server_set_host()
+       API.
+
 2018-06-07  Peter Bloomfield  <pbloomfield bellsouth net>
 
        * libbalsa/imap/meson.build: Edit libimap_a_sources to reflect
diff --git a/libinit_balsa/assistant_page_directory.c b/libinit_balsa/assistant_page_directory.c
index 473a3fc81..279fdfc77 100644
--- a/libinit_balsa/assistant_page_directory.c
+++ b/libinit_balsa/assistant_page_directory.c
@@ -129,7 +129,9 @@ unconditional_mailbox(const gchar * path, const gchar * prettyname,
 
     if (is_remote) {
         libbalsa_server_set_host(LIBBALSA_MAILBOX_REMOTE_SERVER(*box),
-                                 url.host, ssl);
+                                 url.host,
+                                 ssl ? NET_CLIENT_CRYPT_ENCRYPTED :
+                                       NET_CLIENT_CRYPT_NONE);
         libbalsa_server_set_username(LIBBALSA_MAILBOX_REMOTE_SERVER(*box),
                                      getenv("USER"));
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]