diff options
author | Max Kellermann <max@duempel.org> | 2013-10-17 21:45:32 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-17 21:45:41 +0200 |
commit | b93523c0b1009f7ff3e6f1629ad11ab7594333fb (patch) | |
tree | 8bd615e90ac647c04ed9a0301c09575a736074a4 /src/Main.cxx | |
parent | 7ef40de98bb3cbf2fd1fe693871a30064d7ef41b (diff) | |
download | mpd-b93523c0b1009f7ff3e6f1629ad11ab7594333fb.tar.gz mpd-b93523c0b1009f7ff3e6f1629ad11ab7594333fb.tar.xz mpd-b93523c0b1009f7ff3e6f1629ad11ab7594333fb.zip |
UpdateGlue: never pass null to update_enqueue()
Diffstat (limited to '')
-rw-r--r-- | src/Main.cxx | 2 |
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"); } |