aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2006-07-13 19:40:14 +0000
committerAvuton Olrich <avuton@gmail.com>2006-07-13 19:40:14 +0000
commit26447de0ce7130d798ea5742b90c002a62de01e7 (patch)
tree6272a016c6eee3278cb6ac93258d46e6c0be4511
parent9cf92ca99e2e644f1f7cc4362191a0b1892f5d71 (diff)
downloadmpd-26447de0ce7130d798ea5742b90c002a62de01e7.tar.gz
mpd-26447de0ce7130d798ea5742b90c002a62de01e7.tar.xz
mpd-26447de0ce7130d798ea5742b90c002a62de01e7.zip
whoops, I don't know how that snuck into the last
diff git-svn-id: https://svn.musicpd.org/mpd/trunk@4319 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/dbUtils.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dbUtils.c b/src/dbUtils.c
index 09e7e0968..c8a0dc81e 100644
--- a/src/dbUtils.c
+++ b/src/dbUtils.c
@@ -409,4 +409,11 @@ static int sumSavedFilenameMemoryInSong(FILE * fp, Song * song, void * data) {
return 0;
}
+void printSavedMemoryFromFilenames() {
+ int sum = 0;
+ traverseAllIn(stderr, NULL, sumSavedFilenameMemoryInSong,
+ sumSavedFilenameMemoryInDirectory, (void *)&sum);
+
+ DEBUG("saved memory from filenames: %i\n", sum);
+}