Commit 9a6d2b79 authored by Max Kellermann's avatar Max Kellermann

lib/upnp/Discovery: avoid a std::string copy

parent 2a5010a4
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment