Commit 758b504c authored by Max Kellermann's avatar Max Kellermann

db/upnp/Discovery: don't copy the response body

Bloat.
parent 416f7c26
......@@ -71,10 +71,9 @@ UPnPDeviceDirectory::discoExplorer()
if (code != UPNP_E_SUCCESS) {
continue;
}
std::string sdesc(buf);
// Update or insert the device
ContentDirectoryDescriptor d(tsk->url, sdesc,
ContentDirectoryDescriptor d(tsk->url, buf,
time(0), tsk->expires);
if (!d.device.ok) {
continue;
......
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