summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorot <ot@localhost>2007-06-28 10:53:26 +0000
committerot <ot@localhost>2007-06-28 10:53:26 +0000
commit5fe2f6cc0e7715083fcdc7a7553057afd8de0b34 (patch)
treeae5ab4f693a06ef9f62f12d619b53442caa9d5dd
parent5f4daa1ad048803c9f7fd2e092500b20720e9a95 (diff)
downloadmarkup-validator-5fe2f6cc0e7715083fcdc7a7553057afd8de0b34.zip
markup-validator-5fe2f6cc0e7715083fcdc7a7553057afd8de0b34.tar.gz
markup-validator-5fe2f6cc0e7715083fcdc7a7553057afd8de0b34.tar.bz2
* we were passing some fake debug info to the warning for parse mode fallback
(should not have made it to CVS, my mistake) * fixing info about doctype passed to parse mode fallback warning
-rwxr-xr-xhttpd/cgi-bin/check8
1 files changed, 4 insertions, 4 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check
index 5ca901d..84ee5fc 100755
--- a/httpd/cgi-bin/check
+++ b/httpd/cgi-bin/check
@@ -14,7 +14,7 @@
# This source code is available under the license at:
# http://www.w3.org/Consortium/Legal/copyright-software
#
-# $Id: check,v 1.532 2007-06-28 10:03:12 ot Exp $
+# $Id: check,v 1.533 2007-06-28 10:53:26 ot Exp $
#
# Disable buffering on STDOUT!
@@ -181,7 +181,7 @@ Directory not readable (permission denied): @_r
#
# Strings
- $VERSION = q$Revision: 1.532 $;
+ $VERSION = q$Revision: 1.533 $;
$VERSION =~ s/Revision: ([\d\.]+) /$1/;
#
@@ -1963,8 +1963,8 @@ sub set_parse_mode {
$File->{ModeChoice} = 'Fallback';
# and send warning about the fallback
&add_warning('W06', {
- W06_mime => $begincontent, #$File->{ContentType},
- w06_doctype => $File->{Version}
+ W06_mime => $File->{ContentType},
+ w06_doctype => $File->{DOCTYPE}
});
return;
}