From 2ce95741bfcc1938cb7fe8348ce0258c075b5838 Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Wed, 7 Aug 2019 21:53:54 +0100 Subject: [PATCH] rename local variable msg to e --- ncrypt/cryptglue.c | 6 +++--- ncrypt/cryptglue.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ncrypt/cryptglue.c b/ncrypt/cryptglue.c index a096c89ad..a64b58a04 100644 --- a/ncrypt/cryptglue.c +++ b/ncrypt/cryptglue.c @@ -329,15 +329,15 @@ struct Body *crypt_pgp_sign_message(struct Body *a) /** * crypt_pgp_encrypt_message - Wrapper for CryptModuleSpecs::pgp_encrypt_message() */ -struct Body *crypt_pgp_encrypt_message(struct Email *msg, struct Body *a, +struct Body *crypt_pgp_encrypt_message(struct Email *e, struct Body *a, char *keylist, int sign) { #ifdef USE_AUTOCRYPT struct Body *result; - if (msg->security & SEC_AUTOCRYPT) + if (e->security & SEC_AUTOCRYPT) { - if (mutt_autocrypt_set_sign_as_default_key(msg)) + if (mutt_autocrypt_set_sign_as_default_key(e)) return NULL; OptAutocryptGpgme = true; diff --git a/ncrypt/cryptglue.h b/ncrypt/cryptglue.h index 70257c417..b4c6e419a 100644 --- a/ncrypt/cryptglue.h +++ b/ncrypt/cryptglue.h @@ -30,7 +30,7 @@ struct AddressList; struct Body; struct State; -struct Body *crypt_pgp_encrypt_message (struct Email *msg, struct Body *a, char *keylist, int sign); +struct Body *crypt_pgp_encrypt_message(struct Email *e, struct Body *a, char *keylist, int sign); char * crypt_pgp_find_keys(struct AddressList *al, bool oppenc_mode); void crypt_pgp_invoke_import(const char *fname); void crypt_pgp_set_sender(const char *sender); -- 2.40.0