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

2006/unicorn/src/org/w3c/unicorn/action ObserveAction.java,1.52,1.53

From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
Date: Tue, 13 Oct 2009 16:36:25 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MxkML-0006r6-Hj@lionel-hutz.w3.org>
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/action
In directory hutz:/tmp/cvs-serv26332/src/org/w3c/unicorn/action

Modified Files:
	ObserveAction.java 
Log Message:
fixed small mistake

Index: ObserveAction.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/action/ObserveAction.java,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- ObserveAction.java	13 Oct 2009 16:33:46 -0000	1.52
+++ ObserveAction.java	13 Oct 2009 16:36:23 -0000	1.53
@@ -285,8 +285,8 @@
 						infos += observationList.get(key).getInfoCount();
 					}
 					resp.setHeader("X-W3C-Validator-Errors", Integer.toString(errors));
-					resp.setHeader("X-W3C-Validator-Info", Integer.toString(errors));
-					resp.setHeader("X-W3C-Validator-Warnings", Integer.toString(errors));
+					resp.setHeader("X-W3C-Validator-Info", Integer.toString(infos));
+					resp.setHeader("X-W3C-Validator-Warnings", Integer.toString(warnings));
 					if (errors > 0)
 						resp.setHeader("X-W3C-Validator-Status", "Invalid");
 					else
Received on Tuesday, 13 October 2009 16:36:27 UTC

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