summaryrefslogtreecommitdiff
path: root/src/socketengines/socketengine_iocp.cpp
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-14 21:14:36 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-14 21:14:36 +0000
commitf209cce90b394acd26e22eacef0bff61e8f5b4e1 (patch)
tree28374af9d5fc3db87f66477493dc9569d809f518 /src/socketengines/socketengine_iocp.cpp
parent60ab529ad481d5727991901ab0252d84164ccdc0 (diff)
Nuke trailing spaces
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11105 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socketengines/socketengine_iocp.cpp')
-rw-r--r--src/socketengines/socketengine_iocp.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/socketengines/socketengine_iocp.cpp b/src/socketengines/socketengine_iocp.cpp
index 7dce02dbd..6425d5fca 100644
--- a/src/socketengines/socketengine_iocp.cpp
+++ b/src/socketengines/socketengine_iocp.cpp
@@ -166,7 +166,7 @@ bool IOCPEngine::DelFd(EventHandler* eh, bool force /* = false */)
/* decrement set size */
--CurrentSetSize;
-
+
/* success */
return true;
}
@@ -175,7 +175,7 @@ void IOCPEngine::WantWrite(EventHandler* eh)
{
if (!eh)
return;
-
+
void* m_writeEvent = NULL;
int* fake_fd = NULL;
@@ -351,7 +351,7 @@ int IOCPEngine::DispatchEvents()
}
}
break;
-
+
case SOCKET_IO_EVENT_ACCEPT:
{
/* this is kinda messy.. :/ */
@@ -370,7 +370,7 @@ int IOCPEngine::DispatchEvents()
}
break;
}
-
+
delete ov;
}
@@ -464,7 +464,7 @@ int IOCPEngine::Accept(EventHandler* fd, sockaddr *addr, socklen_t *addrlen)
Overlapped* ovl = acceptevent;
accept_overlap* ov = (accept_overlap*)ovl->m_params;
-
+
//sockaddr_in* server_address = (sockaddr_in*)&ov->buf[10];
sockaddr_in* client_address = (sockaddr_in*)&ov->buf[38];
@@ -477,7 +477,7 @@ int IOCPEngine::Accept(EventHandler* fd, sockaddr *addr, socklen_t *addrlen)
int IOCPEngine::GetSockName(EventHandler* fd, sockaddr *name, socklen_t* namelen)
{
Overlapped* ovl = NULL;
-
+
if (!fd->GetExt("windows_acceptevent", ovl))
return -1;
@@ -524,5 +524,3 @@ int IOCPEngine::Close(EventHandler* fd)
{
return this->Close(fd->GetFd());
}
-
-