lib/upnp/ClientInit: return UpnpClient_Handle
This commit is contained in:
@@ -76,8 +76,7 @@ private:
|
||||
void
|
||||
UpnpNeighborExplorer::Open()
|
||||
{
|
||||
UpnpClient_Handle handle;
|
||||
UpnpClientGlobalInit(handle);
|
||||
auto handle = UpnpClientGlobalInit();
|
||||
|
||||
discovery = new UPnPDeviceDirectory(event_loop, handle, this);
|
||||
|
||||
|
Reference in New Issue
Block a user