Commit bc7051ee authored by Automatic Updater's avatar Automatic Updater
Browse files

update copyright notice

parent 5a636f99
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: socket.c,v 1.84 2010/11/18 00:24:00 marka Exp $ */
/* $Id: socket.c,v 1.85 2010/11/18 00:59:43 tbox Exp $ */
/* This code uses functions which are only available on Server 2003 and
* higher, and Windows XP and higher.
......@@ -2329,7 +2329,7 @@ restart_accept(isc_socket_t *parent, IoCompletionInfo *lpo)
{
isc_socket_t *nsock = lpo->adev->newsocket;
SOCKET new_fd;
/*
* AcceptEx() requires we pass in a socket. Note that we carefully
* do not close the previous socket in case of an error message returned by
......@@ -2344,7 +2344,7 @@ restart_accept(isc_socket_t *parent, IoCompletionInfo *lpo)
nsock->fd = new_fd;
memset(&lpo->overlapped, 0, sizeof(lpo->overlapped));
ISCAcceptEx(parent->fd,
nsock->fd, /* Accepted Socket */
lpo->acceptbuffer, /* Buffer for initial Recv */
......@@ -2357,7 +2357,7 @@ restart_accept(isc_socket_t *parent, IoCompletionInfo *lpo)
InterlockedDecrement(&nsock->manager->iocp_total);
iocompletionport_update(nsock);
return (ISC_R_SUCCESS);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment