diff options
-rw-r--r-- | src/listensocket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listensocket.cpp b/src/listensocket.cpp index 1daca2a39..0145f86d8 100644 --- a/src/listensocket.cpp +++ b/src/listensocket.cpp @@ -71,7 +71,7 @@ void ListenSocketBase::AcceptInternal() } socklen_t sz = sizeof(server); - if (getsockname(incomingSockfd, &server.sa, &sz)); + if (getsockname(incomingSockfd, &server.sa, &sz)) ServerInstance->Logs->Log("SOCKET", DEBUG, "Can't get peername: %s", strerror(errno)); /* |