Commit 4943606f authored by Max Kellermann's avatar Max Kellermann

db/upnp: append characters instead of single-character strings

parent 87629dda
......@@ -296,7 +296,7 @@ UpnpDatabase::SearchSongs(ContentDirectoryService &server,
if (!cond.empty()) {
cond += " and ";
}
cond += "(";
cond += '(';
bool first(true);
for (const auto& cap : searchcaps) {
if (first)
......@@ -311,7 +311,7 @@ UpnpDatabase::SearchSongs(ContentDirectoryService &server,
}
dquote(cond, item.GetValue().c_str());
}
cond += ")";
cond += ')';
}
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment