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:
Max Kellermann 2014-11-07 18:42:51 +01:00
parent 1bd8a322f5
commit 6f23e91e33
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -1,4 +1,6 @@
ver 0.19.3 (not yet released)
* database
- upnp: fix breakage due to malformed URIs
* decoder
- audiofile: fix crash while playing streams

View File

@ -29,7 +29,7 @@
ContentDirectoryService::ContentDirectoryService(const UPnPDevice &device,
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_deviceId(device.UDN),
m_friendlyName(device.friendlyName),