From 14cdc80a052346d6610f397d33f0944556590625 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Wed, 28 Sep 2011 03:41:59 +0200 Subject: [PATCH] win tty: Fix typo --- src/win/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win/stream.c b/src/win/stream.c index 476496759..27139016a 100644 --- a/src/win/stream.c +++ b/src/win/stream.c @@ -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;