validator/httpd/cgi-bin check,1.305.2.111,1.305.2.112

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

Modified Files:
      Tag: validator-0_6_0-branch
	check 
Log Message:
Remove last line of ESIS in "valid" cases instead of undef'ing it.
Avoids trashing the error log with warnings.


Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.305.2.111
retrieving revision 1.305.2.112
diff -u -d -r1.305.2.111 -r1.305.2.112
--- check	8 May 2004 17:10:41 -0000	1.305.2.111
+++ check	8 May 2004 19:16:44 -0000	1.305.2.112
@@ -741,7 +741,7 @@
   undef $spout;
 
   if ($File->{ESIS}->[-1] =~ /^C$/) {
-    undef $File->{ESIS}->[-1];
+    pop(@{$File->{ESIS}});
     $File->{'Is Valid'} = TRUE;
   } else {
     $File->{'Is Valid'} = FALSE;

Received on Saturday, 8 May 2004 15:17:22 UTC