diff options
author | Max Kellermann <max@duempel.org> | 2014-02-04 08:57:40 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-04 09:05:32 +0100 |
commit | f25ef8d6825c03aec4569c6ad4b9bfb3a9f5d78d (patch) | |
tree | f0ad647783c635c72bd7004b34dbae01ad2d3970 /src/db/update/UpdateGlue.cxx | |
parent | 33a2c01ea2e6c06922eb0ce6a8f08760206138b4 (diff) | |
download | mpd-f25ef8d6825c03aec4569c6ad4b9bfb3a9f5d78d.tar.gz mpd-f25ef8d6825c03aec4569c6ad4b9bfb3a9f5d78d.tar.xz mpd-f25ef8d6825c03aec4569c6ad4b9bfb3a9f5d78d.zip |
db/update/Walk: add Directory reference parameter
Remove dependency on the DatabaseSimple library.
Diffstat (limited to '')
-rw-r--r-- | src/db/update/UpdateGlue.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/db/update/UpdateGlue.cxx b/src/db/update/UpdateGlue.cxx index 285143ffe..742fbfe98 100644 --- a/src/db/update/UpdateGlue.cxx +++ b/src/db/update/UpdateGlue.cxx @@ -44,7 +44,8 @@ UpdateService::Task() SetThreadIdlePriority(); - modified = walk.Walk(next.path_utf8.c_str(), next.discard); + modified = walk.Walk(*db_get_root(), next.path_utf8.c_str(), + next.discard); if (modified || !db_exists()) { Error error; |