trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1152235 - /trafficserver/traffic/trunk/proxy/ControlMatcher.cc
Date Fri, 29 Jul 2011 14:26:54 GMT
Author: amc
Date: Fri Jul 29 14:26:53 2011
New Revision: 1152235

URL: http://svn.apache.org/viewvc?rev=1152235&view=rev
Log:
printf format fix

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

Modified: trafficserver/traffic/trunk/proxy/ControlMatcher.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/proxy/ControlMatcher.cc?rev=1152235&r1=1152234&r2=1152235&view=diff
==============================================================================
--- trafficserver/traffic/trunk/proxy/ControlMatcher.cc (original)
+++ trafficserver/traffic/trunk/proxy/ControlMatcher.cc Fri Jul 29 14:26:53 2011
@@ -541,7 +541,7 @@ template<class Data, class Result>
 
 template<class Data, class Result> void IpMatcher<Data, Result>::Print()
 {
-  printf("\tIp Matcher with %d elements, %d ranges.\n", num_el, ip_map.getCount());
+  printf("\tIp Matcher with %d elements, %lu ranges.\n", num_el, ip_map.getCount());
   for ( IpMap::iterator spot(ip_map.begin()), limit(ip_map.end()) ; spot != limit ; ++spot)
{
     char b1[INET6_ADDRSTRLEN], b2[INET6_ADDRSTRLEN];
     printf("\tRange %s - %s ",



Mime
View raw message