Browse Source

Bugfix: Number of Pools << Number of Buckets

master OPENTRACKER.WITH.BATCHSYNC
Dirk Engling 13 years ago
parent
commit
90217a63e5
  1. 4
      ot_stats.c

4
ot_stats.c

@ -497,7 +497,7 @@ static size_t stats_return_renew_bucket( char * reply ) {
char *r = reply;
int i;
for( i=0; i<OT_BUCKET_COUNT; ++i )
for( i=0; i<OT_POOLS_COUNT; ++i )
r+=sprintf(r,"%02i %llu\n", i, ot_renewed[i] );
return r - reply;
}
@ -651,4 +651,4 @@ void stats_deinit( ) {
pthread_cancel( thread_id );
}
const char *g_version_stats_c = "$Source: /home/cvsroot/opentracker/ot_stats.c,v $: $Revision: 1.28 $\n";
const char *g_version_stats_c = "$Source: /home/cvsroot/opentracker/ot_stats.c,v $: $Revision: 1.29 $\n";

Loading…
Cancel
Save