diff options
author | Max Kellermann <max@duempel.org> | 2014-01-18 13:07:42 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-18 13:07:42 +0100 |
commit | 758b504cf3b954036ccbc21959b47999f7dabf27 (patch) | |
tree | 6b43b2c0831924e2ea222e4210f2c817d818fe72 /src/db | |
parent | 416f7c26009b11e12254261a02d925c824fbc154 (diff) | |
download | mpd-758b504cf3b954036ccbc21959b47999f7dabf27.tar.gz mpd-758b504cf3b954036ccbc21959b47999f7dabf27.tar.xz mpd-758b504cf3b954036ccbc21959b47999f7dabf27.zip |
db/upnp/Discovery: don't copy the response body
Bloat.
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/upnp/Discovery.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/db/upnp/Discovery.cxx b/src/db/upnp/Discovery.cxx index 89ece3dfd..b33dbd395 100644 --- a/src/db/upnp/Discovery.cxx +++ b/src/db/upnp/Discovery.cxx @@ -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; |