From 1abc96fa27ad102436fccad3b6643c6529a0dcb4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 22 Jan 2014 20:37:17 +0100 Subject: db/upnp: remove special case for "*" Passing this to csvToStrings() will do the same. --- src/db/upnp/ContentDirectoryService.cxx | 4 +--- 1 file changed, 1 insertion(+), 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; } -- cgit v1.2.3