summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlink <link@localhost>2002-10-26 00:59:45 +0000
committerlink <link@localhost>2002-10-26 00:59:45 +0000
commite0721bf517e7583c9c80ee96e497a17792b7e708 (patch)
treeaec3fa3b1624f09db553774b970d873c62afc7e4
parentac03ecf0320369201dd07ded2c8b6f64f05c5042 (diff)
downloadmarkup-validator-e0721bf517e7583c9c80ee96e497a17792b7e708.zip
markup-validator-e0721bf517e7583c9c80ee96e497a17792b7e708.tar.gz
markup-validator-e0721bf517e7583c9c80ee96e497a17792b7e708.tar.bz2
Fix thinko (my() var inside if()).
-rwxr-xr-xhttpd/cgi-bin/check11
1 files changed, 6 insertions, 5 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check
index 88afa20..625920e 100755
--- a/httpd/cgi-bin/check
+++ b/httpd/cgi-bin/check
@@ -9,7 +9,7 @@
# This source code is available under the license at:
# http://www.w3.org/Consortium/Legal/copyright-software
#
-# $Id: check,v 1.263 2002-10-25 18:41:46 link Exp $
+# $Id: check,v 1.264 2002-10-26 00:59:45 link Exp $
#
# Disable buffering on STDOUT!
@@ -95,7 +95,7 @@ BEGIN {
#
# Strings
- $VERSION = q$Revision: 1.263 $;
+ $VERSION = q$Revision: 1.264 $;
$VERSION =~ s/Revision: ([\d\.]+) /$1/;
@@ -157,7 +157,7 @@ $File->{'Header'} = &prepSSI({
});
$File->{'Footer'} = &prepSSI({
File => $CFG->{'Footer'},
- Date => q$Date: 2002-10-25 18:41:46 $,
+ Date => q$Date: 2002-10-26 00:59:45 $,
});
#
@@ -267,10 +267,11 @@ if ($File->{Charset}->{HTTP}) { # HTTP, if given, is authoritative.
} elsif ($File->{ContentType} =~ m(^text/([-.a-zA-Z0-9]\+)?xml$)) {
# Act as if $http_charset was 'us-ascii'. (MIME rules)
$File->{Charset}->{Use} = 'us-ascii';
+ my @_source;
if ($File->{'Is Upload'}) {
- my @_source = ('sent by your web browser', 'browser send');
+ @_source = ('sent by your web browser', 'browser send');
} else {
- my @_source = ('returned by your web server', 'server return');
+ @_source = ('returned by your web server', 'server return');
}
&add_warning($File, <<".EOF.");
<em>Note:</em>