aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/db/upnp/ContentDirectoryService.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/db/upnp/ContentDirectoryService.cxx b/src/db/upnp/ContentDirectoryService.cxx
index d57f426ec..2f94a0b3f 100644
--- a/src/db/upnp/ContentDirectoryService.cxx
+++ b/src/db/upnp/ContentDirectoryService.cxx
@@ -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;
}