Global: replaces NULL to nullptr

This commit is contained in:
李通洲
2026-07-10 18:08:04 +08:00
parent 873454191f
commit ba18705d2e
387 changed files with 2411 additions and 2411 deletions
+1 -1
View File
@@ -308,7 +308,7 @@ void ffGenerateLocalIpJsonConfig(FFLocalIpOptions* options, yyjson_mut_doc* doc,
if (options->ipv6Type == FF_LOCALIP_IPV6_TYPE_AUTO) {
yyjson_mut_obj_add_bool(doc, module, "showIpv6", !!(options->showType & FF_LOCALIP_TYPE_IPV6_BIT));
} else {
const char* str = NULL;
const char* str = nullptr;
switch (options->ipv6Type) {
case FF_LOCALIP_IPV6_TYPE_GUA_BIT:
str = "gua";