CLEANUP: refactored simply the item_dump_stats() function.
@@ -1632,7 +1632,9 @@ void item_dump_stats(struct default_engine *engine,
struct engine_dumper *dumper = &engine->dumper;
pthread_mutex_lock(&dumper->lock);
+ do {
do_item_dump_stats(dumper, add_stat, cookie);
+ } while(0);
pthread_mutex_unlock(&dumper->lock);
}
