diff options
author | ville <ville@localhost> | 2009-11-25 20:24:06 +0000 |
---|---|---|
committer | ville <ville@localhost> | 2009-11-25 20:24:06 +0000 |
commit | da1faff480151459195e06d81e4f06cf3cfd398d (patch) | |
tree | 072ea08669fc84338a5903c055ba1b48c09ed796 | |
parent | fc9a6f6f7e54965efa166211b95088ad7306f977 (diff) | |
download | markup-validator-da1faff480151459195e06d81e4f06cf3cfd398d.zip markup-validator-da1faff480151459195e06d81e4f06cf3cfd398d.tar.gz markup-validator-da1faff480151459195e06d81e4f06cf3cfd398d.tar.bz2 |
Fix numeric/string equality test warnings.
-rwxr-xr-x | httpd/cgi-bin/check | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check index 76f4e9e..df55a78 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.733 2009-11-25 20:21:36 ville Exp $ +# $Id: check,v 1.734 2009-11-25 20:24:06 ville Exp $ # # We need Perl 5.8.0+. @@ -201,7 +201,7 @@ EOF # # Strings - $VERSION = q$Revision: 1.733 $; + $VERSION = q$Revision: 1.734 $; $VERSION =~ s/Revision: ([\d\.]+) /$1/; # @@ -362,7 +362,7 @@ $File->{Opt}->{Output} = $q->param('output') || 'html'; $File->{Opt}->{'User Agent'} = $q->param('user-agent') && - $q->param('user-agent') != "1" ? $q->param('user-agent') : + $q->param('user-agent') ne "1" ? $q->param('user-agent') : "W3C_Validator/$VERSION"; $File->{Opt}->{'User Agent'} =~ tr/\x00-\x09\x0b\x0c-\x1f//d; |