lib/upnp/ContentDirectoryService: swap uri_apply_base() parameters
When uri_apply_base() was moved from db/upnp/Util.cpp to util/UriUtil.cpp, the parameter order was changed, however without swapping the parameters in the ContentDirectoryService constructor.
This commit is contained in:
parent
1bd8a322f5
commit
6f23e91e33
2
NEWS
2
NEWS
@ -1,4 +1,6 @@
|
|||||||
ver 0.19.3 (not yet released)
|
ver 0.19.3 (not yet released)
|
||||||
|
* database
|
||||||
|
- upnp: fix breakage due to malformed URIs
|
||||||
* decoder
|
* decoder
|
||||||
- audiofile: fix crash while playing streams
|
- audiofile: fix crash while playing streams
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
ContentDirectoryService::ContentDirectoryService(const UPnPDevice &device,
|
ContentDirectoryService::ContentDirectoryService(const UPnPDevice &device,
|
||||||
const UPnPService &service)
|
const UPnPService &service)
|
||||||
:m_actionURL(uri_apply_base(device.URLBase, service.controlURL)),
|
:m_actionURL(uri_apply_base(service.controlURL, device.URLBase)),
|
||||||
m_serviceType(service.serviceType),
|
m_serviceType(service.serviceType),
|
||||||
m_deviceId(device.UDN),
|
m_deviceId(device.UDN),
|
||||||
m_friendlyName(device.friendlyName),
|
m_friendlyName(device.friendlyName),
|
||||||
|
Loading…
Reference in New Issue
Block a user