diff --git a/src/command.cpp b/src/command.cpp index ce954e9e5..05513a3fa 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -527,7 +527,7 @@ bool SUrlParser::parse(const char * uri) { enum Type t = Type::begin; std::string last_param; - if (c != NULL || *c != '\0') { + if (c != nullptr || *c != '\0') { do { if (*c == '/') { if (s.length() > 0) {