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;
|
bool success = true;
|
||||||
if (strcmp(s, "*") == 0) {
|
if (!csvToStrings(s, result)) {
|
||||||
result.insert(result.end(), "*");
|
|
||||||
} else if (!csvToStrings(s, result)) {
|
|
||||||
error.Set(upnp_domain, "Bad response");
|
error.Set(upnp_domain, "Bad response");
|
||||||
success = false;
|
success = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user