Another fix: print -> printf (header wasn't being output correctly)
This commit is contained in:
parent
6049f21bd8
commit
1e10341242
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=37453
1 changed files with 2 additions and 2 deletions
|
@ -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.73 2011/07/21 02:09:02 shaun Exp $
|
||||
# $FreeBSD: www/en/cgi/query-pr.cgi,v 1.74 2011/07/21 02:44:20 shaun Exp $
|
||||
#
|
||||
# Useful PRs for testing:
|
||||
#
|
||||
|
@ -186,7 +186,7 @@ sub main
|
|||
defined $patch
|
||||
or ErrorExit(EXIT_NOPATCH);
|
||||
|
||||
print 'Content-type: %s; charset=UTF-8'."\r\n",
|
||||
printf 'Content-type: %s; charset=UTF-8'."\r\n",
|
||||
($patch->isbinary ? 'application/octet-stream' : 'text/plain');
|
||||
|
||||
printf 'Content-Length: "%s"'."\r\n"
|
||||
|
|
Loading…
Reference in a new issue