aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapper.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mapper.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mapper.c b/src/mapper.c
index 3cee41eb3..d230f5d92 100644
--- a/src/mapper.c
+++ b/src/mapper.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2010 The Music Player Daemon Project
+ * Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -117,10 +117,10 @@ void mapper_finish(void)
g_free(playlist_dir);
}
-bool
-mapper_has_music_directory(void)
+const char *
+mapper_get_music_directory(void)
{
- return music_dir != NULL;
+ return music_dir;
}
const char *