aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 11:07:55 +0200
committerEric Wong <normalperson@yhbt.net>2008-10-11 19:21:48 -0700
commit4629f646077109f7c6185aab92560da52c237412 (patch)
treeaf62c1fd2d29c53d137f8b390682492bf0ef102d /src/directory.c
parent0576b8abf8b2fd25105f6e0190a93ddec298e9fb (diff)
downloadmpd-4629f646077109f7c6185aab92560da52c237412.tar.gz
mpd-4629f646077109f7c6185aab92560da52c237412.tar.xz
mpd-4629f646077109f7c6185aab92560da52c237412.zip
database: renamed functions, "db_" prefix and no CamelCase
Yet another CamelCase removal patch.
Diffstat (limited to '')
-rw-r--r--src/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/directory.c b/src/directory.c
index b38d3b52c..501bda275 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -195,7 +195,7 @@ void readDirectoryInfo(FILE * fp, struct directory * directory)
if (prefixcmp(buffer, DIRECTORY_BEGIN))
FATAL("Error reading db at line: %s\n", buffer);
name = &(buffer[strlen(DIRECTORY_BEGIN)]);
- if ((subdir = getDirectory(name))) {
+ if ((subdir = db_get_directory(name))) {
assert(subdir->parent == directory);
} else {
subdir = newDirectory(name, directory);