Correct whitespace issue in error output.

This commit is contained in:
Ceri Davies 2007-06-12 06:06:41 +00:00
parent 6fdf1eb0f8
commit 6a79bf9903
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=30276

View file

@ -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.30 2007/03/16 06:35:54 remko Exp $
# $FreeBSD: www/en/cgi/dosendpr.cgi,v 1.31 2007/05/23 21:53:45 simon Exp $
use Socket;
use CGI qw/:standard/;
@ -101,7 +101,7 @@ if (!$submission_program) { &prerror("submit program problem"); }
if ($patchhandle = upload('patch')) {
# use bytes;
unless (uploadInfo($patchhandle)->{'Content-Type'} =~ m!text/.*!) {
&piloterror("Patch file has wrong content type: got" .
&piloterror("Patch file has wrong content type: got " .
uploadInfo($patchhandle)->{'Content-Type'} .
" but was expecting one matching text/.*");
}