summaryrefslogtreecommitdiff
path: root/src/lib/upnp/ContentDirectoryService.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/upnp/ContentDirectoryService.cxx')
-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 12b67e6a3..ae514c717 100644
--- a/src/lib/upnp/ContentDirectoryService.cxx
+++ b/src/lib/upnp/ContentDirectoryService.cxx
@@ -60,7 +60,7 @@ ContentDirectoryService::getSearchCapabilities(UpnpClient_Handle hdl) const
IXML_Document *_response;
auto code = UpnpSendAction(hdl, m_actionURL.c_str(),
m_serviceType.c_str(),
- 0 /*devUDN*/, request.get(), &_response);
+ nullptr /*devUDN*/, request.get(), &_response);
if (code != UPNP_E_SUCCESS)
throw FormatRuntimeError("UpnpSendAction() failed: %s",
UpnpGetErrorMessage(code));