[Commits] [SCM] claws branch, master, updated. 3.9.2-96-ga16bc33

colin at claws-mail.org colin at claws-mail.org
Thu Oct 24 21:49:40 CEST 2013


The branch master of project "claws" (Claws Mail) has been updated
       via  a16bc33909360086bb72908c3cc983e97ee9ebaa (commit)
      from  cfe7f78faa46f3d9f5c145c74da3bebcb8495de8 (commit)


- Log -----------------------------------------------------------------
commit a16bc33909360086bb72908c3cc983e97ee9ebaa
Author: Colin Leroy <colin at colino.net>
Date:   Thu Oct 24 21:49:19 2013 +0200

    Fix useless call to gpg_err_code for sig->validity

diff --git a/src/plugins/pgpcore/sgpgme.c b/src/plugins/pgpcore/sgpgme.c
index a2d7fa3..77c0774 100644
--- a/src/plugins/pgpcore/sgpgme.c
+++ b/src/plugins/pgpcore/sgpgme.c
@@ -106,7 +106,7 @@ SignatureStatus sgpgme_sigstat_gpgme_to_privacy(gpgme_ctx_t ctx, gpgme_verify_re
 	debug_print("err code %d\n", gpg_err_code(sig->status));
 	switch (gpg_err_code(sig->status)) {
 	case GPG_ERR_NO_ERROR:
-		switch (gpg_err_code(sig->validity)) {
+		switch (sig->validity) {
 		case GPGME_VALIDITY_NEVER:
 			return SIGNATURE_INVALID;
 		case GPGME_VALIDITY_UNKNOWN:

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

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list