summaryrefslogtreecommitdiff
path: root/www/cvsweb/patches/patch-aa
blob: b7115ff99968078654e5654ed8f2965c4800b7dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-aa,v 1.3.2.1 2002/08/25 21:22:25 jlam Exp $

--- cvsweb.cgi.orig	Tue Jul 23 15:58:32 2002
+++ cvsweb.cgi	Wed Jul 24 11:01:53 2002
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -wT
+#!/usr/bin/perl -w
 #
 # cvsweb - a CGI interface to CVS trees.
 #
@@ -3631,6 +3631,7 @@
 }
 
 sub html_footer() {
+	return if ($address eq "");
 	print "<hr noshade>\n<address>$address</address>\n</body>\n</html>\n";
 }