diff options
author | Max Kellermann <max@duempel.org> | 2013-01-02 23:06:10 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-02 23:06:10 +0100 |
commit | 0eb05b827fc239854773b43baff82581d65f9c5b (patch) | |
tree | c4f5d1aba7b4aad89826707310b6b75573453408 /src/DatabaseGlue.cxx | |
parent | 0c245bc2712f5d38507b8d421cdc0a7e002a3398 (diff) | |
download | mpd-0eb05b827fc239854773b43baff82581d65f9c5b.tar.gz mpd-0eb05b827fc239854773b43baff82581d65f9c5b.tar.xz mpd-0eb05b827fc239854773b43baff82581d65f9c5b.zip |
Directory: turn functions to methods
Diffstat (limited to 'src/DatabaseGlue.cxx')
-rw-r--r-- | src/DatabaseGlue.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/DatabaseGlue.cxx b/src/DatabaseGlue.cxx index 59b582873..0b2bb0c37 100644 --- a/src/DatabaseGlue.cxx +++ b/src/DatabaseGlue.cxx @@ -128,9 +128,7 @@ db_get_directory(const char *name) if (name == NULL) return music_root; - struct directory *directory = - directory_lookup_directory(music_root, name); - return directory; + return music_root->LookupDirectory(name); } struct song * |