summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'channels.c')
-rw-r--r--channels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels.c b/channels.c
index 64c1ce76d..7f0aaadf6 100644
--- a/channels.c
+++ b/channels.c
@@ -239,7 +239,7 @@ channel_register_fds(Channel *c, int rfd, int wfd, int efd,
239 239
240 if ((c->isatty = is_tty) != 0) 240 if ((c->isatty = is_tty) != 0)
241 debug2("channel %d: rfd %d isatty", c->self, c->rfd); 241 debug2("channel %d: rfd %d isatty", c->self, c->rfd);
242 c->wfd_isatty = isatty || isatty(c->wfd); 242 c->wfd_isatty = is_tty || isatty(c->wfd);
243 243
244 /* enable nonblocking mode */ 244 /* enable nonblocking mode */
245 if (nonblock) { 245 if (nonblock) {