summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2008-06-16 23:35:56 +1000
committerDarren Tucker <dtucker@zip.com.au>2008-06-16 23:35:56 +1000
commit1a48aecfbca9459ff5bfe07952d0914fda754bcb (patch)
tree75e4e0b5b5d2ba1c3cdae7b911f01ed89511ec01 /channels.c
parented3cdc0a7c6e2a782c1e4a6781f11c1defa494b1 (diff)
- (dtucker) [channels.c] isatty -> is_tty here too.
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) {