aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-11-07 18:42:51 +0100
committerMax Kellermann <max@duempel.org>2014-11-07 18:43:00 +0100
commit6f23e91e335b3415080fcbc90cb9fc3cdcc4344f (patch)
tree1bde9dd01839def96044973e7c7b2083c41d73a1 /src
parent1bd8a322f52c3094b8d343f249f54b75a97bd598 (diff)
downloadmpd-6f23e91e335b3415080fcbc90cb9fc3cdcc4344f.tar.gz
mpd-6f23e91e335b3415080fcbc90cb9fc3cdcc4344f.tar.xz
mpd-6f23e91e335b3415080fcbc90cb9fc3cdcc4344f.zip
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.
Diffstat (limited to '')
-rw-r--r--src/lib/upnp/ContentDirectoryService.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/upnp/ContentDirectoryService.cxx b/src/lib/upnp/ContentDirectoryService.cxx
index ee7c0d7f5..0e5d2d955 100644
--- a/src/lib/upnp/ContentDirectoryService.cxx
+++ b/src/lib/upnp/ContentDirectoryService.cxx
@@ -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),