aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 11:07:39 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 11:07:39 +0200
commit7a023eb0b2d41ae0511c45449abada94df04dd7d (patch)
treefd328c0a988450abaefbc211cfbe1589e7ace5c4 /src/database.c
parent8a50e8a2663b5afd2fb3c80ea3424f3e68e14695 (diff)
downloadmpd-7a023eb0b2d41ae0511c45449abada94df04dd7d.tar.gz
mpd-7a023eb0b2d41ae0511c45449abada94df04dd7d.tar.xz
mpd-7a023eb0b2d41ae0511c45449abada94df04dd7d.zip
database: removed printDirectoryInfo()
The same can be achieved with directory_print(db_get_directory()).
Diffstat (limited to '')
-rw-r--r--src/database.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/database.c b/src/database.c
index 75038839c..648d29c86 100644
--- a/src/database.c
+++ b/src/database.c
@@ -115,16 +115,6 @@ traverseAllIn(const char *name,
data);
}
-int printDirectoryInfo(struct client *client, const char *name)
-{
- struct directory *directory;
-
- if ((directory = getDirectory(name)) == NULL)
- return -1;
-
- return directory_print(client, directory);
-}
-
static char *getDbFile(void)
{
ConfigParam *param = parseConfigFilePath(CONF_DB_FILE, 1);