aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/ContentDirectoryService.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-22 20:24:55 +0100
committerMax Kellermann <max@duempel.org>2014-01-22 20:24:55 +0100
commit02f2171010accc1e9473e2a12a51d79782ee0f52 (patch)
treeb35f530de3bc5674721c4e30f2e39500aa2d3f16 /src/db/upnp/ContentDirectoryService.cxx
parenta5e7d0a90fc13ee4b81128483931ccc3bf65d84c (diff)
downloadmpd-02f2171010accc1e9473e2a12a51d79782ee0f52.tar.gz
mpd-02f2171010accc1e9473e2a12a51d79782ee0f52.tar.xz
mpd-02f2171010accc1e9473e2a12a51d79782ee0f52.zip
db/upnp/Util: pass char* to csvToStrings()
Diffstat (limited to 'src/db/upnp/ContentDirectoryService.cxx')
-rw-r--r--src/db/upnp/ContentDirectoryService.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/upnp/ContentDirectoryService.cxx b/src/db/upnp/ContentDirectoryService.cxx
index d49a6b6fd..b666716f7 100644
--- a/src/db/upnp/ContentDirectoryService.cxx
+++ b/src/db/upnp/ContentDirectoryService.cxx
@@ -249,7 +249,7 @@ ContentDirectoryService::getSearchCapabilities(UpnpClient_Handle hdl,
if (!tbuf.compare("*")) {
result.insert(result.end(), "*");
} else if (!tbuf.empty()) {
- if (!csvToStrings(tbuf, result)) {
+ if (!csvToStrings(tbuf.c_str(), result)) {
error.Set(upnp_domain, "Bad response");
return false;
}