aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_httpd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_httpd.cpp')
-rw-r--r--src/modules/m_httpd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp
index 5b34a0ada..d0a6ae46f 100644
--- a/src/modules/m_httpd.cpp
+++ b/src/modules/m_httpd.cpp
@@ -250,7 +250,7 @@ public:
Close();
}
- void SendHTTPError(unsigned int response, const char* errstr = NULL)
+ void SendHTTPError(unsigned int response, const char* errstr = nullptr)
{
if (!errstr)
errstr = http_status_str((http_status)response);