db/upnp: remove special case for "*"

Passing this to csvToStrings() will do the same.
This commit is contained in:
Max Kellermann 2014-01-22 20:37:17 +01:00
parent 0fa98479ad
commit 1abc96fa27

View File

@ -251,9 +251,7 @@ ContentDirectoryService::getSearchCapabilities(UpnpClient_Handle hdl,
}
bool success = true;
if (strcmp(s, "*") == 0) {
result.insert(result.end(), "*");
} else if (!csvToStrings(s, result)) {
if (!csvToStrings(s, result)) {
error.Set(upnp_domain, "Bad response");
success = false;
}