diff options
author | Max Kellermann <max@musicpd.org> | 2018-02-09 13:19:26 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-02-09 13:19:26 +0100 |
commit | 5147654f6c6e452132be6bd4b8d525d1c1856878 (patch) | |
tree | 5018a25f7d1ec7c2bcac481d32b92bb3763ee7e5 | |
parent | 250b6a3d521523617ea654d66a5156faa64f6f28 (diff) |
SongFilter: fix "modified-since" filter
Error message sent to client was "basic_string::_M_construct null not
valid" due to passing nullptr to the std::string constructor.
Regression caused by commit 386688b87ac
-rw-r--r-- | src/SongFilter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SongFilter.cxx b/src/SongFilter.cxx index 244cfc193..2d8068ace 100644 --- a/src/SongFilter.cxx +++ b/src/SongFilter.cxx @@ -69,7 +69,7 @@ SongFilter::Item::Item(unsigned _tag, const char *_value, bool _fold_case) SongFilter::Item::Item(unsigned _tag, std::chrono::system_clock::time_point _time) - :tag(_tag), value(nullptr), time(_time) + :tag(_tag), time(_time) { } |