summaryrefslogtreecommitdiff
path: root/plugins/FavContacts/src/cserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FavContacts/src/cserver.cpp')
-rw-r--r--plugins/FavContacts/src/cserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FavContacts/src/cserver.cpp b/plugins/FavContacts/src/cserver.cpp
index 18739f8e34..42f35cd687 100644
--- a/plugins/FavContacts/src/cserver.cpp
+++ b/plugins/FavContacts/src/cserver.cpp
@@ -37,7 +37,7 @@ void CServer::Stop()
DWORD CServer::ConnectionAcceptThread()
{
while (1) {
- SOCKET s = accept(m_socket, NULL, NULL);
+ SOCKET s = accept(m_socket, nullptr, nullptr);
if (s == INVALID_SOCKET) break;
mir_forkthread(GlobalConnectionProcessThread, new GlobalConnectionProcessThreadArgs(this, s));