Commit 6f23e91e authored by Max Kellermann's avatar Max Kellermann

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.
parent 1bd8a322
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 @@ ...@@ -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),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment