]> granicus.if.org Git - mutt/commitdiff
Don't leak message dates when sending via mixmaster.
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 13 Jan 1999 15:32:37 +0000 (15:32 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 13 Jan 1999 15:32:37 +0000 (15:32 +0000)
sendlib.c

index 69dd9673488931bba59b3be0dd576f7450440f20..b72753f717c49f25f21a34226c629b163e8ec5f1 100644 (file)
--- a/sendlib.c
+++ b/sendlib.c
@@ -1226,6 +1226,8 @@ static void write_references (LIST *r, FILE *f)
  * mode == -1 => write just the envelope info (used for postponing messages)
  * 
  * privacy != 0 => will omit any headers which may identify the user.
+ *               Output generated is suitable for being sent through
+ *              anonymous remailer chains.
  * 
  */
 
@@ -1242,7 +1244,7 @@ int mutt_write_rfc822_header (FILE *fp, ENVELOPE *env, BODY *attach,
     else
       fputs (mutt_make_date(buffer, sizeof(buffer)), fp);
   }
-  else if (mode == 0)
+  else if (mode == 0 && !privacy)
     fputs (mutt_make_date (buffer, sizeof(buffer)), fp);