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

Commit

Permalink
Browse files Browse the repository at this point in the history
windows: fix serious typo in init_child_stdio
  • Loading branch information
piscisaureus committed Jun 12, 2012
1 parent 95e89c6 commit 9f44b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win/process.c
Expand Up @@ -1092,7 +1092,7 @@ static int init_child_stdio(uv_loop_t* loop, uv_process_options_t* options,
uv_stream_t* stream = fdopt.data.stream;

/* Leech the handle out of the stream. */
if (stream->type = UV_TTY) {
if (stream->type == UV_TTY) {
stream_handle = ((uv_tty_t*) stream)->handle;
crt_flags = FOPEN | FDEV;
} else if (stream->type == UV_NAMED_PIPE &&
Expand Down

0 comments on commit 9f44b0e

Please sign in to comment.