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