Embrace nullptr over NULL and 0

This commit is contained in:
get committed 2023-04-15 16:07:05 -05:00
1 parent ae18aa0639
commit a5d06fde4b
16 files changed
+36 -33

No files matched your search

+1 -1
View File
@@ -1052,7 +1052,7 @@ void InitLocal(const char* socket)
addr.sun_family = AF_UNIX;
strcpy(addr.sun_path, socket);
InitGeneric(PF_LOCAL, (const sockaddr*)&addr, sizeof(addr), NULL, NULL);
InitGeneric(PF_LOCAL, (const sockaddr*)&addr, sizeof(addr), nullptr, nullptr);
}
#endif