summaryrefslogtreecommitdiff
path: root/ot_stats.c
diff options
context:
space:
mode:
authorerdgeist <>2008-11-03 10:34:54 +0000
committererdgeist <>2008-11-03 10:34:54 +0000
commitff6c0339c13a6b42149ba91da14dbb824307cea7 (patch)
tree2431d234c14418728e7ce0e91420fb07c9ecf7be /ot_stats.c
parent272abf8430ab0e6e1ff29896d69784f15958d827 (diff)
Bugfix: Number of Pools << Number of Buckets
Diffstat (limited to 'ot_stats.c')
-rw-r--r--ot_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot_stats.c b/ot_stats.c
index 5427f1f..0751bf8 100644
--- a/ot_stats.c
+++ b/ot_stats.c
@@ -497,7 +497,7 @@ static size_t stats_return_renew_bucket( char * reply ) {
497 char *r = reply; 497 char *r = reply;
498 int i; 498 int i;
499 499
500 for( i=0; i<OT_BUCKET_COUNT; ++i ) 500 for( i=0; i<OT_POOLS_COUNT; ++i )
501 r+=sprintf(r,"%02i %llu\n", i, ot_renewed[i] ); 501 r+=sprintf(r,"%02i %llu\n", i, ot_renewed[i] );
502 return r - reply; 502 return r - reply;
503} 503}