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

Commit

Permalink
win tty: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Sep 28, 2011
1 parent 1d3b880 commit 14cdc80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win/stream.c
Expand Up @@ -93,7 +93,7 @@ int uv_read_start(uv_stream_t* handle, uv_alloc_cb alloc_cb,


int uv_read_stop(uv_stream_t* handle) {
if (handle->type = UV_TTY) {
if (handle->type == UV_TTY) {
return uv_tty_read_stop((uv_tty_t*) handle);
} else {
handle->flags &= ~UV_HANDLE_READING;
Expand Down

0 comments on commit 14cdc80

Please sign in to comment.