aboutsummaryrefslogtreecommitdiffstats
path: root/src/db
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-26 15:22:33 +0100
committerMax Kellermann <max@duempel.org>2014-01-26 15:22:33 +0100
commite57e89b9d59faed31abcd11453fb33af95c55f40 (patch)
tree59c337eb3c1fe6217c96210d92f35b383c230ce7 /src/db
parentbcc1f933702770c276e7353d71cb0c5fff75bc4a (diff)
downloadmpd-e57e89b9d59faed31abcd11453fb33af95c55f40.tar.gz
mpd-e57e89b9d59faed31abcd11453fb33af95c55f40.tar.xz
mpd-e57e89b9d59faed31abcd11453fb33af95c55f40.zip
upnp/discovery: use a plain UpnpClient_Handle instead of class LibUPnP
Diffstat (limited to 'src/db')
-rw-r--r--src/db/plugins/UpnpDatabasePlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/plugins/UpnpDatabasePlugin.cxx b/src/db/plugins/UpnpDatabasePlugin.cxx
index 8861359ce..ac2055f7d 100644
--- a/src/db/plugins/UpnpDatabasePlugin.cxx
+++ b/src/db/plugins/UpnpDatabasePlugin.cxx
@@ -182,7 +182,7 @@ UpnpDatabase::Open(Error &error)
return false;
}
- discovery = new UPnPDeviceDirectory(lib);
+ discovery = new UPnPDeviceDirectory(lib->getclh());
if (!discovery->Start(error)) {
delete discovery;
delete lib;