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

Bloat.
This commit is contained in:
Max Kellermann 2014-01-18 13:07:42 +01:00
parent 416f7c2600
commit 758b504cf3
1 changed files with 1 additions and 2 deletions

View File

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