[or-cvs] [githax/master] Aha! formail apparently wants a From: header, even if it is about to immediately overwrite it.

nickm at torproject.org nickm at torproject.org
Sat Jan 15 17:38:27 UTC 2011


commit ab2ce9cb38a26bb8e6902fcd3459e283bcb0db00
Author: Nick Mathewson <nickm at torproject.org>
Date:   Sat Jan 15 12:38:19 2011 -0500

    Aha!  formail apparently wants a From: header, even if it is about to immediately overwrite it.
---
 hooks/logs_to_emails.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/hooks/logs_to_emails.pl b/hooks/logs_to_emails.pl
index eb40d8c..b71416a 100755
--- a/hooks/logs_to_emails.pl
+++ b/hooks/logs_to_emails.pl
@@ -70,6 +70,7 @@ while (<>) {
     print "\n\n" unless ($firsttime);
     $firsttime = 0;
     print "From $commitnum Mon Sep 17 00:00:00 2001\n";
+    print "From: $headervals{Author}\n";
     print "Patch-Author: $headervals{Author}\n";
     print "Subject: $prefix$subject\n\n";
 



More information about the tor-commits mailing list