diff --git a/src/lib/upnp/Discovery.cxx b/src/lib/upnp/Discovery.cxx index 143434a6b..8dc0b96ad 100644 --- a/src/lib/upnp/Discovery.cxx +++ b/src/lib/upnp/Discovery.cxx @@ -85,7 +85,7 @@ UPnPDeviceDirectory::Downloader::OnEnd() expires); try { - d.Parse(url.c_str(), data.c_str()); + d.Parse(url, data.c_str()); } catch (const std::exception &e) { LogError(e); }