aboutsummaryrefslogtreecommitdiff
path: root/gitweb/gitweb.perl
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2010-06-13 00:35:59 +0200
committerJunio C Hamano <gitster@pobox.com>2010-06-13 10:03:04 -0700
commitad709ea985b527adb546f4c841fbd480f2c6bdfd (patch)
treedc045ed05f145778f6ded45e7f11c5cf200cfc91 /gitweb/gitweb.perl
parent3499cb1ae7b97ce8f67879156e2014e31dd985b6 (diff)
downloadgit-ad709ea985b527adb546f4c841fbd480f2c6bdfd.tar.gz
git-ad709ea985b527adb546f4c841fbd480f2c6bdfd.tar.xz
gitweb: Fix typo in hash key name in %opts in git_header_html
The name of the key has to be the same in call site handle_errors_html and in called subroutine that uses it, i.e. git_header_html. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/gitweb.perl')
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 934aacb61..e108bbc60 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -3220,7 +3220,7 @@ sub git_header_html {
}
print $cgi->header(-type=>$content_type, -charset => 'utf-8',
-status=> $status, -expires => $expires)
- unless ($opts{'-no_http_headers'});
+ unless ($opts{'-no_http_header'});
my $mod_perl_version = $ENV{'MOD_PERL'} ? " $ENV{'MOD_PERL'}" : '';
print <<EOF;
<?xml version="1.0" encoding="utf-8"?>