From eeb78bf5c83bded8d5baf0de547f2f07abf82c95 Mon Sep 17 00:00:00 2001 From: Shaun Amott Date: Thu, 21 Jul 2011 12:37:17 +0000 Subject: [PATCH] Don't output the Content-type header twice. Submitted by: gavin --- en/cgi/query-pr.cgi | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/en/cgi/query-pr.cgi b/en/cgi/query-pr.cgi index 173b865af8..e08313bc50 100755 --- a/en/cgi/query-pr.cgi +++ b/en/cgi/query-pr.cgi @@ -26,7 +26,7 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# $FreeBSD: www/en/cgi/query-pr.cgi,v 1.75 2011/07/21 03:06:06 shaun Exp $ +# $FreeBSD: www/en/cgi/query-pr.cgi,v 1.76 2011/07/21 03:27:58 shaun Exp $ # # Useful PRs for testing: # @@ -692,12 +692,10 @@ sub ErrorExit my $url = $q->url(-full => 1, -query => 1); if ($code == EXIT_NOPRS) { - print "Content-type: text/plain; charset=UTF-8\r\n\r\n"; print html_header("No PRs Matched Query"); displayform(); print html_footer(); } elsif ($code == EXIT_DBBUSY) { - print "Content-type: text/plain; charset=UTF-8\r\n\r\n"; print html_header("PR Database Busy"); print $q->p( 'Please '