Add forgotten block delimiters
authorRicardo Mones <ricardo@mones.org>
Mon, 4 Jul 2016 16:45:48 +0000 (18:45 +0200)
committerRicardo Mones <ricardo@mones.org>
Mon, 4 Jul 2016 16:45:53 +0000 (18:45 +0200)
Thanks Paul for noticing!

src/plugins/pgpcore/sgpgme.c

index c0fbe6a27765c666bcd5d2034037da8dfb01fac8..701787a336e2ade479723ef80bb70248cbabf137 100644 (file)
@@ -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