From 02f2171010accc1e9473e2a12a51d79782ee0f52 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 22 Jan 2014 20:24:55 +0100 Subject: db/upnp/Util: pass char* to csvToStrings() --- src/db/upnp/ContentDirectoryService.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/db/upnp/ContentDirectoryService.cxx') 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; } -- cgit v1.2.3