db/upnp: remove special case for "*"
Passing this to csvToStrings() will do the same.
This commit is contained in:
parent
0fa98479ad
commit
1abc96fa27
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user