From: cjwatson <> Date: Sun, 22 Sep 2002 21:37:14 +0000 (-0800) Subject: [project @ 2002-09-22 14:37:14 by cjwatson] X-Git-Tag: release/2.6.0~1047 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c9374a2ae36d9fb9ed2a07cab28d9f389fa34cc9;p=debbugs.git [project @ 2002-09-22 14:37:14 by cjwatson] Fix excess
before messages in some old bugs, and make mbox downloads for them work. --- diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index 3490dffd..eeeecef4 100755 --- a/cgi/bugreport.cgi +++ b/cgi/bugreport.cgi @@ -273,11 +273,12 @@ while(my $line =) { } elsif ($normstate eq 'autocheck') { next if !m/^X-Debian-Bugs(-\w+)?: This is an autoforward from (\S+)/; $normstate= 'autowait'; - $this = " Message received at $2:
\n"; + $thisheader = "Message received at $2:
\n"; + $this = ''; + $mail .= $_; } elsif ($normstate eq 'autowait') { next if !m/^$/; $normstate= 'go-nox'; - $this .= "\n"; } else { &quit("$ref state $normstate line \`$_'"); }