<<< Date Index >>>     <<< Thread Index >>>

[PATCH] Remove completely wrong comment regarding in-reply-to and references



# HG changeset patch
# User Aron Griffis <agriffis@xxxxxxxxx>
# Date 1215715495 14400
# Branch HEAD
# Node ID a0059b26988d7b8474a8e565ca4aa982f050f394
# Parent  2a9e9c487badce3ab39797d52d01666f36b07e7f
Remove completely wrong comment regarding in-reply-to and references

...plus fix one other comment and some whitespace.

Signed-off-by: Aron Griffis <agriffis@xxxxxxxxx>

diff -r 2a9e9c487bad -r a0059b26988d headers.c
--- a/headers.c Wed Jul 09 09:14:25 2008 +0000
+++ b/headers.c Thu Jul 10 14:44:55 2008 -0400
@@ -122,8 +122,8 @@
 
   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 @@
   {
     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 @@
       }
       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)