W3C home > Mailing lists > Public > www-validator-cvs@w3.org > November 2009

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

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 25 Nov 2009 20:24:08 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1NDOPI-0007vx-Oi@lionel-hutz.w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:40 UTC