windows: remove duplicate check in stream.c

Fixes #937.
This commit is contained in:
Ben Noordhuis 2013-09-25 23:07:08 +02:00
parent 581e8c9266
commit 7c7717c6b2

View File

@ -209,10 +209,6 @@ int uv_shutdown(uv_shutdown_t* req, uv_stream_t* handle, uv_shutdown_cb cb) {
return UV_EPIPE;
}
if (!(handle->flags & UV_HANDLE_WRITABLE)) {
return UV_EPIPE;
}
uv_req_init(loop, (uv_req_t*) req);
req->type = UV_SHUTDOWN;
req->handle = handle;