From f00aeeb94ee17afdbbe2c8eca0b7323d6b7ee464 Mon Sep 17 00:00:00 2001 From: Shaun Amott Date: Sat, 26 Jan 2008 22:49:57 +0000 Subject: [PATCH] Revert last change; the PR viewer can handle the old patch format now; but having delimiters as causes other problems. --- en/cgi/dosendpr.cgi | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/en/cgi/dosendpr.cgi b/en/cgi/dosendpr.cgi index a8a9c35b6c..34c576263f 100755 --- a/en/cgi/dosendpr.cgi +++ b/en/cgi/dosendpr.cgi @@ -8,7 +8,7 @@ # GNU General Public License Version 2. # (http://www.gnu.ai.mit.edu/copyleft/gpl.html) # -# $FreeBSD: www/en/cgi/dosendpr.cgi,v 1.37 2007/08/08 12:06:29 remko Exp $ +# $FreeBSD: www/en/cgi/dosendpr.cgi,v 1.38 2008/01/26 15:22:33 shaun Exp $ use Socket; use CGI qw/:standard/; @@ -204,10 +204,7 @@ $pr .= "X-Send-Pr-Version: www-3.1\n" . if (length($patchbuf) > 0) { $pr .= "\nPatch attached with submission follows:\n\n" - . "--- patch.txt begins here ---\n" - . $patchbuf . "\n" - . "--- patch.txt ends here ---\n" - . "\n"; + . $patchbuf . "\n"; } # remove any carriage returns that appear in the report.