summaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-02-01 13:49:19 +0100
committerMax Kellermann <max@musicpd.org>2020-02-01 14:02:43 +0100
commit4f22f4d357c99ba4163a496882f813138db3c39b (patch)
treedd1d76658ca8466f1cbb220d49bd8e728aeb9df1 /src/db
parent4c52001a350ca573fd19f910f2f808d5f31cf95b (diff)
*: use nullptr instead of NULL
Diffstat (limited to 'src/db')
-rw-r--r--src/db/plugins/upnp/ContentDirectoryService.cxx6
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));