aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-17 21:45:32 +0200
committerMax Kellermann <max@duempel.org>2013-10-17 21:45:41 +0200
commitb93523c0b1009f7ff3e6f1629ad11ab7594333fb (patch)
tree8bd615e90ac647c04ed9a0301c09575a736074a4 /src/Main.cxx
parent7ef40de98bb3cbf2fd1fe693871a30064d7ef41b (diff)
downloadmpd-b93523c0b1009f7ff3e6f1629ad11ab7594333fb.tar.gz
mpd-b93523c0b1009f7ff3e6f1629ad11ab7594333fb.tar.xz
mpd-b93523c0b1009f7ff3e6f1629ad11ab7594333fb.zip
UpdateGlue: never pass null to update_enqueue()
Diffstat (limited to 'src/Main.cxx')
-rw-r--r--src/Main.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index 726bfc5d4..3c88fc3c4 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -468,7 +468,7 @@ int mpd_main(int argc, char *argv[])
if (create_db) {
/* the database failed to load: recreate the
database */
- unsigned job = update_enqueue(nullptr, true);
+ unsigned job = update_enqueue("", true);
if (job == 0)
FatalError("directory update failed");
}