From f25ef8d6825c03aec4569c6ad4b9bfb3a9f5d78d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 4 Feb 2014 08:57:40 +0100 Subject: db/update/Walk: add Directory reference parameter Remove dependency on the DatabaseSimple library. --- src/db/update/UpdateGlue.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/db/update/UpdateGlue.cxx') 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; -- cgit v1.2.3