[cig-commits] r13794 - cs/stats/trunk

sue at geodynamics.org sue at geodynamics.org
Tue Dec 23 16:07:28 PST 2008


Author: sue
Date: 2008-12-23 16:07:28 -0800 (Tue, 23 Dec 2008)
New Revision: 13794

Modified:
   cs/stats/trunk/get_all.cxx
Log:
Only count hits that get the actual file, not something with /file_view attached

Modified: cs/stats/trunk/get_all.cxx
===================================================================
--- cs/stats/trunk/get_all.cxx	2008-12-23 00:56:35 UTC (rev 13793)
+++ cs/stats/trunk/get_all.cxx	2008-12-24 00:07:28 UTC (rev 13794)
@@ -252,7 +252,7 @@
 		  {
 		    for(map<string,string>::iterator p=packages.begin();
 			p!=packages.end(); ++p)
-		      if(logline.find(p->first)!=string::npos)
+		      if(logline.find(p->first + " HTTP")!=string::npos)
 			{
 			  int space=logline.find(' ');
 			  hits[p->first+"_"+*m+"_"+*y]



More information about the CIG-COMMITS mailing list