Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
windows/tty: never report error after forcibly aborting line-buffered…
Browse files Browse the repository at this point in the history
… read
  • Loading branch information
piscisaureus committed Jun 2, 2012
1 parent 38a6f9f commit 961e0cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win/tty.c
Expand Up @@ -690,7 +690,7 @@ void uv_process_tty_read_line_req(uv_loop_t* loop, uv_tty_t* handle,
if (!REQ_SUCCESS(req)) {
/* Read was not successful */
if ((handle->flags & UV_HANDLE_READING) &&
!(handle->flags & UV_HANDLE_TTY_RAW)) {
handle->read_line_handle != NULL) {
/* Real error */
handle->flags &= ~UV_HANDLE_READING;
DECREASE_ACTIVE_COUNT(loop, handle);
Expand Down

0 comments on commit 961e0cf

Please sign in to comment.