diff options
Diffstat (limited to 'src/stats.c')
-rw-r--r-- | src/stats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stats.c b/src/stats.c index a9e929e90..fe842a789 100644 --- a/src/stats.c +++ b/src/stats.c @@ -66,7 +66,7 @@ static unsigned int getNumberOfTagItems(int type) }; unsigned int ret; - traverseAllIn(NULL, visit_tag_items, NULL, &data); + db_walk(NULL, visit_tag_items, NULL, &data); ret = strset_size(data.set); strset_free(data.set); @@ -89,6 +89,6 @@ int printStats(struct client *client) time(NULL) - stats.daemonStart, (long)(getPlayerTotalPlayTime() + 0.5), stats.dbPlayTime, - getDbModTime()); + db_get_mtime()); return 0; } |