From 48045988a48a738a1ffa183fdc1e335a431312a8 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 12 Jun 2009 16:27:11 +0000 Subject: This file *BROKEN AGAIN* in windows builds (VC9) - uint_16t and uint_32t do not exist in windows visual studio 2008! I will fix this at some later date unless someone beats me to it, as i still have no access to a reasonable PC. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11406 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/listensocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); /* -- cgit v1.2.3