Embrace nullptr over NULL and 0
This commit is contained in:
1 parent
ae18aa0639
commit
a5d06fde4b
16 files changed
+36
-33
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user