summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-06-12 16:27:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-06-12 16:27:11 +0000
commit48045988a48a738a1ffa183fdc1e335a431312a8 (patch)
treef8bc73976aa76a511250ad6b37d000951951017a /src
parent6b13769673aa78bd4921ec95cab3336cb4ee876f (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/listensocket.cpp2
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));
/*