[Commits] [SCM] claws branch, master, updated. 3.13.2-168-gcda0657

mones at claws-mail.org mones at claws-mail.org
Mon Jul 4 18:46:35 CEST 2016


The branch, master has been updated
       via  cda0657547ce866617ab2a2dd1072fbf4f80f164 (commit)
      from  20113442240ea0d6a590e37ceb09a9b547cae771 (commit)

Summary of changes:
 src/plugins/pgpcore/sgpgme.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit cda0657547ce866617ab2a2dd1072fbf4f80f164
Author: Ricardo Mones <ricardo at mones.org>
Date:   Mon Jul 4 18:45:48 2016 +0200

    Add forgotten block delimiters
    
    Thanks Paul for noticing!

diff --git a/src/plugins/pgpcore/sgpgme.c b/src/plugins/pgpcore/sgpgme.c
index c0fbe6a..701787a 100644
--- a/src/plugins/pgpcore/sgpgme.c
+++ b/src/plugins/pgpcore/sgpgme.c
@@ -664,11 +664,12 @@ void sgpgme_init()
 
 	gpgme_engine_info_t engineInfo;
 
-	if (strcmp(prefs_gpg_get_config()->gpg_path, "") != 0 &&
-	    access(prefs_gpg_get_config()->gpg_path, X_OK) != -1)
+	if (strcmp(prefs_gpg_get_config()->gpg_path, "") != 0
+	    && access(prefs_gpg_get_config()->gpg_path, X_OK) != -1) {
 		err = gpgme_set_engine_info(GPGME_PROTOCOL_OpenPGP, prefs_gpg_get_config()->gpg_path, NULL);
 		if (err != GPG_ERR_NO_ERROR)
 			g_warning("failed to set crypto engine configuration: %s", gpgme_strerror(err));
+	}
 
 	if (gpgme_check_version("1.0.0")) {
 #ifdef LC_CTYPE

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list