diff options
author | Max Kellermann <max@duempel.org> | 2008-10-08 11:07:58 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-08 11:07:58 +0200 |
commit | 68977af6e078b7114195d098a89952b2c89274cd (patch) | |
tree | 0e9d0a59ce59e842c01a8f19162d2b7fa7424d6f /src/dbUtils.c | |
parent | bb8a9533b1a2df4ea34be2c6f053f22fe49a60d0 (diff) | |
download | mpd-68977af6e078b7114195d098a89952b2c89274cd.tar.gz mpd-68977af6e078b7114195d098a89952b2c89274cd.tar.xz mpd-68977af6e078b7114195d098a89952b2c89274cd.zip |
directory: eliminate CamelCase
CamelCase is ugly, rename the functions.
Diffstat (limited to 'src/dbUtils.c')
-rw-r--r-- | src/dbUtils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbUtils.c b/src/dbUtils.c index 6a803f621..f7a495501 100644 --- a/src/dbUtils.c +++ b/src/dbUtils.c @@ -62,7 +62,7 @@ printDirectoryInDirectory(struct directory *directory, void *data) { struct client *client = data; if (directory->path) { - client_printf(client, "directory: %s\n", getDirectoryPath(directory)); + client_printf(client, "directory: %s\n", directory_get_path(directory)); } return 0; } @@ -374,7 +374,7 @@ sumSavedFilenameMemoryInDirectory(struct directory *dir, void *data) if (!dir->path) return 0; - *sum += (strlen(getDirectoryPath(dir)) + 1 + *sum += (strlen(directory_get_path(dir)) + 1 - sizeof(struct directory *)) * dir->songs.nr; return 0; |