]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2002-09-22 14:37:14 by cjwatson]
authorcjwatson <>
Sun, 22 Sep 2002 21:37:14 +0000 (13:37 -0800)
committercjwatson <>
Sun, 22 Sep 2002 21:37:14 +0000 (13:37 -0800)
Fix excess <pre> before messages in some old bugs, and make mbox downloads
for them work.

cgi/bugreport.cgi

index 3490dffd83224dade99c7bbf12c8207a35834a76..eeeecef4c054d5a349fc92c64e85857d6dd4a067 100755 (executable)
@@ -273,11 +273,12 @@ while(my $line = <L>) {
        } elsif ($normstate eq 'autocheck') {
                next if !m/^X-Debian-Bugs(-\w+)?: This is an autoforward from (\S+)/;
                $normstate= 'autowait';
-               $this = "<h2>Message received at $2:</h2>\n";
+               $thisheader = "<h2>Message received at $2:</h2>\n";
+               $this = '';
+               $mail .= $_;
        } elsif ($normstate eq 'autowait') {
                next if !m/^$/;
                $normstate= 'go-nox';
-               $this .= "<pre>\n";
        } else {
                &quit("$ref state $normstate line \`$_'");
        }