summaryrefslogtreecommitdiffstats
path: root/headers.c
diff options
context:
space:
mode:
authorAron Griffis <agriffis@n01se.net>2008-07-10 21:46:05 +0200
committerAron Griffis <agriffis@n01se.net>2008-07-10 21:46:05 +0200
commitf5750fc117a33ed620c5413b701c3b85af756996 (patch)
treec7932bf3b3b1788cb122b9a9fca70cc5a06f9b6a /headers.c
parente484ce66c6331c48ae5a2c8ef63a4a54e3403d6b (diff)
Remove completely wrong comment regarding in-reply-to and references
...plus fix one other comment and some whitespace.
Diffstat (limited to 'headers.c')
-rw-r--r--headers.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/headers.c b/headers.c
index 6ac21d8a..0aa79154 100644
--- a/headers.c
+++ b/headers.c
@@ -122,8 +122,8 @@ void mutt_edit_headers (const char *editor,
mutt_expand_aliases_env (msg->env);
- /* search through the user defined headers added to see if either a
- * fcc: or attach-file: field was specified.
+ /* search through the user defined headers added to see if
+ * fcc: or attach: or pgp: was specified
*/
cur = msg->env->userhdrs;
@@ -132,10 +132,6 @@ void mutt_edit_headers (const char *editor,
{
keep = 1;
- /* keep track of whether or not we see the in-reply-to field. if we did
- * not, remove the references: field later so that we can generate a new
- * message based upon this one.
- */
if (fcc && ascii_strncasecmp ("fcc:", cur->data, 4) == 0)
{
p = cur->data + 4;
@@ -179,10 +175,8 @@ void mutt_edit_headers (const char *editor,
}
keep = 0;
}
-
-
else if ((WithCrypto & APPLICATION_PGP)
- &&ascii_strncasecmp ("pgp:", cur->data, 4) == 0)
+ && ascii_strncasecmp ("pgp:", cur->data, 4) == 0)
{
msg->security = mutt_parse_crypt_hdr (cur->data + 4, 0, APPLICATION_PGP);
if (msg->security)