Windows: do not initialize pipe handle in uv_pipe_accept

This commit is contained in:
Bert Belder 2011-07-22 12:07:39 +02:00
parent 52487194cf
commit 2806b0386b

View File

@ -399,7 +399,6 @@ int uv_pipe_accept(uv_pipe_t* server, uv_pipe_t* client) {
}
/* Initialize the client handle and copy the pipeHandle to the client */
uv_pipe_init(client);
uv_connection_init((uv_stream_t*) client);
client->handle = req->pipeHandle;