[Commits] [SCM] claws branch, master, updated. 3.16.0-239-g07c9868

ticho at claws-mail.org ticho at claws-mail.org
Sun Jul 15 23:44:02 CEST 2018


The branch, master has been updated
       via  07c9868d708651fb0fb5364c228189e5b262ec66 (commit)
      from  dac4f74122511a39ccdd20ba967a26265d01612c (commit)

Summary of changes:
 src/plugins/pgpcore/prefs_gpg.c |    4 ----
 1 file changed, 4 deletions(-)


- Log -----------------------------------------------------------------
commit 07c9868d708651fb0fb5364c228189e5b262ec66
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Sun Jul 15 23:43:45 2018 +0200

    Remove unneeded debug_print lines.

diff --git a/src/plugins/pgpcore/prefs_gpg.c b/src/plugins/pgpcore/prefs_gpg.c
index aebd198..51ba335 100644
--- a/src/plugins/pgpcore/prefs_gpg.c
+++ b/src/plugins/pgpcore/prefs_gpg.c
@@ -552,10 +552,8 @@ struct GPGAccountConfig *prefs_gpg_account_get_config(PrefsAccount *account)
 
 	confstr = prefs_account_get_privacy_prefs(account, "gpg");
 	if (confstr != NULL) {
-		debug_print("confstr|%s|\n", confstr);
 		strv = g_strsplit(confstr, ";", 0);
 		if (strv[0] != NULL) {
-			debug_print("strv0|%s|\n", strv[0]);
 			if (!strcmp(strv[0], "DEFAULT"))
 				config->sign_key = SIGN_KEY_DEFAULT;
 			else if (!strcmp(strv[0], "BY_FROM"))
@@ -580,10 +578,8 @@ struct GPGAccountConfig *prefs_gpg_account_get_config(PrefsAccount *account)
 	if (confstr == NULL)
 		confstr = prefs_account_get_privacy_prefs(account, "gpg");
 	if (confstr != NULL) {
-		debug_print("confstr|%s|\n", confstr);
 		strv = g_strsplit(confstr, ";", 0);
 		if (strv[0] != NULL) {
-			debug_print("strv0|%s|\n", strv[0]);
 			if (!strcmp(strv[0], "DEFAULT"))
 				config->smime_sign_key = SIGN_KEY_DEFAULT;
 			else if (!strcmp(strv[0], "BY_FROM"))

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list