aboutsummaryrefslogtreecommitdiffstats
path: root/src/stats.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 11:07:55 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 11:07:55 +0200
commitbb8a9533b1a2df4ea34be2c6f053f22fe49a60d0 (patch)
tree40fbdabccc553f9681753d2b4bc6b4aeb9760951 /src/stats.c
parent7a023eb0b2d41ae0511c45449abada94df04dd7d (diff)
downloadmpd-bb8a9533b1a2df4ea34be2c6f053f22fe49a60d0.tar.gz
mpd-bb8a9533b1a2df4ea34be2c6f053f22fe49a60d0.tar.xz
mpd-bb8a9533b1a2df4ea34be2c6f053f22fe49a60d0.zip
database: renamed functions, "db_" prefix and no CamelCase
Yet another CamelCase removal patch.
Diffstat (limited to '')
-rw-r--r--src/stats.c4
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;
}