- (dtucker) [channels.c] isatty -> is_tty here too.
diff --git a/channels.c b/channels.c
index 64c1ce7..7f0aaad 100644
--- a/channels.c
+++ b/channels.c
@@ -239,7 +239,7 @@
 
 	if ((c->isatty = is_tty) != 0)
 		debug2("channel %d: rfd %d isatty", c->self, c->rfd);
-	c->wfd_isatty = isatty || isatty(c->wfd);
+	c->wfd_isatty = is_tty || isatty(c->wfd);
 
 	/* enable nonblocking mode */
 	if (nonblock) {