]> granicus.if.org Git - neomutt/commitdiff
rename local variable msg to e
authorRichard Russon <rich@flatcap.org>
Wed, 7 Aug 2019 20:53:54 +0000 (21:53 +0100)
committerRichard Russon <rich@flatcap.org>
Mon, 19 Aug 2019 23:14:28 +0000 (00:14 +0100)
ncrypt/cryptglue.c
ncrypt/cryptglue.h

index a096c89ade1c88b2b5daae13f78600fd11f2cec9..a64b58a046e778e6222b1791234bdc07432db573 100644 (file)
@@ -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;
index 70257c4178a28f193199f6e4cb5389d881b93bf4..b4c6e419ab4de2d31c7340f61de28b934898075a 100644 (file)
@@ -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);