W3C home > Mailing lists > Public > www-validator-cvs@w3.org > May 2004

validator/httpd/cgi-bin check,1.305.2.137,1.305.2.138

From: Ville Skytta <ville@hutz.w3.org>
Date: Sun, 23 May 2004 08:03:00 +0000
To: www-validator-cvs@w3.org
Message-Id: <20040523080300.E70C8481A@hutz.w3.org>

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

Modified Files:
      Tag: validator-0_6_0-branch
	check 
Log Message:
Avoid error log warning when ESIS is empty.

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.305.2.137
retrieving revision 1.305.2.138
diff -u -d -r1.305.2.137 -r1.305.2.138
--- check	21 May 2004 00:55:36 -0000	1.305.2.137
+++ check	23 May 2004 08:02:57 -0000	1.305.2.138
@@ -749,7 +749,7 @@
   }
   undef $spout;
 
-  if ($File->{ESIS}->[-1] =~ /^C$/) {
+  if (@{$File->{ESIS}} && $File->{ESIS}->[-1] =~ /^C$/) {
     pop(@{$File->{ESIS}});
     $File->{'Is Valid'} = TRUE;
   } else {
Received on Sunday, 23 May 2004 04:05:37 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:02:06 UTC