revet changes to uv-common
This commit is contained in:
parent
2ad029bfbd
commit
12ebe23eb2
@ -928,7 +928,7 @@ int uv_read_start(uv_stream_t* stream,
|
||||
if (stream->flags & UV_HANDLE_CLOSING)
|
||||
return UV_EINVAL;
|
||||
|
||||
if (stream->read_cb != NULL)
|
||||
if (stream->flags & UV_HANDLE_READING)
|
||||
return UV_EALREADY;
|
||||
|
||||
if (!(stream->flags & UV_HANDLE_READABLE))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user