trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject svn commit: r984497 - /trafficserver/traffic/trunk/proxy/StatSystemV2.cc
Date Wed, 11 Aug 2010 17:58:29 GMT
Author: jesus
Date: Wed Aug 11 17:58:29 2010
New Revision: 984497

URL: http://svn.apache.org/viewvc?rev=984497&view=rev
Log:
This is used in an array size specification and this should be const

Modified:
    trafficserver/traffic/trunk/proxy/StatSystemV2.cc

Modified: trafficserver/traffic/trunk/proxy/StatSystemV2.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/proxy/StatSystemV2.cc?rev=984497&r1=984496&r2=984497&view=diff
==============================================================================
--- trafficserver/traffic/trunk/proxy/StatSystemV2.cc (original)
+++ trafficserver/traffic/trunk/proxy/StatSystemV2.cc Wed Aug 11 17:58:29 2010
@@ -253,7 +253,7 @@ bool StatSystemV2::getStatNum(const char
 }
 
 static INKThread statsCommandThread;
-static int MAX_STAT_NAME_LENGTH = 512;
+static const int MAX_STAT_NAME_LENGTH = 512;
 int StatCollectorContinuation::mainEvent(int event, Event * e)
 {
     NOWARN_UNUSED(event);



Mime
View raw message