More Windows build fixes.
authorAndrej Kacian <ticho@claws-mail.org>
Thu, 5 Jul 2018 07:54:11 +0000 (09:54 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Thu, 5 Jul 2018 07:54:11 +0000 (09:54 +0200)
Patch by Abhay S. Kushwaha.

src/plugins/managesieve/claws.def
src/plugins/managesieve/managesieve.c

index 9a634db2112e0a84d3b6be5c77af10da65845a02..5652381848ef27558d439c17a4346ef316f83b5b 100644 (file)
@@ -34,8 +34,10 @@ md5_hex_hmac
 message_search_other
 passcrypt_decrypt
 password_get
+passwd_store_get
 passwd_store_get_account
 passwd_store_set_account
+passwd_store_has_password_account
 prefs_account_get_privacy_prefs
 prefs_account_register_page
 prefs_account_set_privacy_prefs
index d1cbcc462aa31819e89d1d84f3e834493b711b87..c14571556f49893986800d4188d7de6443742af8 100644 (file)
@@ -1006,7 +1006,7 @@ static gint sieve_session_connect(SieveSession *session)
 
        if (ac->use_proxy) {
                if (ac->use_default_proxy) {
-                       proxy_info = (ProxyInfo *)&(prefs_common.proxy_info);
+                       proxy_info = (ProxyInfo *)&(prefs_common_get_prefs()->proxy_info);
                        if (proxy_info->use_proxy_auth)
                                proxy_info->proxy_pass = passwd_store_get(PWS_CORE, PWS_CORE_PROXY,
                                        PWS_CORE_PROXY_PASS);