aboutsummaryrefslogtreecommitdiffstats
path: root/src/database.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-09 16:26:09 +0200
committerMax Kellermann <max@duempel.org>2008-10-09 16:26:09 +0200
commit6b9ffcffe2c255a918398e58418466529d362da9 (patch)
tree60305d93604faf1ac777f04331ace7ad09767495 /src/database.c
parent4409c34a8c8b0020df78885ece8b01911413be21 (diff)
downloadmpd-6b9ffcffe2c255a918398e58418466529d362da9.tar.gz
mpd-6b9ffcffe2c255a918398e58418466529d362da9.tar.xz
mpd-6b9ffcffe2c255a918398e58418466529d362da9.zip
database: renamed get_get_song() to db_get_song()
Search'n'replace typo..
Diffstat (limited to 'src/database.c')
-rw-r--r--src/database.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/database.c b/src/database.c
index ff1473820..93d0d7ef8 100644
--- a/src/database.c
+++ b/src/database.c
@@ -70,7 +70,7 @@ db_get_directory(const char *name)
}
struct song *
-get_get_song(const char *file)
+db_get_song(const char *file)
{
struct song *song = NULL;
struct directory *directory;
@@ -108,7 +108,7 @@ db_walk(const char *name,
if ((directory = db_get_directory(name)) == NULL) {
struct song *song;
- if ((song = get_get_song(name)) && forEachSong) {
+ if ((song = db_get_song(name)) && forEachSong) {
return forEachSong(song, data);
}
return -1;