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
This commit is contained in:
parent
250b6a3d52
commit
5147654f6c
@ -69,7 +69,7 @@ SongFilter::Item::Item(unsigned _tag, const char *_value, bool _fold_case)
|
|||||||
|
|
||||||
SongFilter::Item::Item(unsigned _tag,
|
SongFilter::Item::Item(unsigned _tag,
|
||||||
std::chrono::system_clock::time_point _time)
|
std::chrono::system_clock::time_point _time)
|
||||||
:tag(_tag), value(nullptr), time(_time)
|
:tag(_tag), time(_time)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user