diff options
Diffstat (limited to 'src/db')
-rw-r--r-- | src/db/plugins/upnp/ContentDirectoryService.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/db/plugins/upnp/ContentDirectoryService.cxx b/src/db/plugins/upnp/ContentDirectoryService.cxx index d36b27982..0cb94c42c 100644 --- a/src/db/plugins/upnp/ContentDirectoryService.cxx +++ b/src/db/plugins/upnp/ContentDirectoryService.cxx @@ -62,7 +62,7 @@ ContentDirectoryService::readDirSlice(UpnpClient_Handle hdl, IXML_Document *response; int code = UpnpSendAction(hdl, m_actionURL.c_str(), m_serviceType.c_str(), - 0 /*devUDN*/, request, &response); + nullptr /*devUDN*/, request, &response); if (code != UPNP_E_SUCCESS) throw FormatRuntimeError("UpnpSendAction() failed: %s", UpnpGetErrorMessage(code)); @@ -121,7 +121,7 @@ ContentDirectoryService::search(UpnpClient_Handle hdl, IXML_Document *_response; auto code = UpnpSendAction(hdl, m_actionURL.c_str(), m_serviceType.c_str(), - 0 /*devUDN*/, + nullptr /*devUDN*/, request.get(), &_response); if (code != UPNP_E_SUCCESS) throw FormatRuntimeError("UpnpSendAction() failed: %s", @@ -167,7 +167,7 @@ ContentDirectoryService::getMetadata(UpnpClient_Handle hdl, 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)); |