validator/httpd/cgi-bin check,1.733,1.734

Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv30476/httpd/cgi-bin

Modified Files:
	check 
Log Message:
Fix numeric/string equality test warnings.

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.733
retrieving revision 1.734
diff -u -d -r1.733 -r1.734
--- check	25 Nov 2009 20:21:36 -0000	1.733
+++ check	25 Nov 2009 20:24:06 -0000	1.734
@@ -362,7 +362,7 @@
 
 $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;
 

Received on Wednesday, 25 November 2009 20:24:17 UTC