summaryrefslogtreecommitdiff
path: root/sshpty.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-09 19:41:48 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-09 19:41:48 +0000
commit5a6abdae0f6f2312d8bfd60b8bf2420a3393428d (patch)
tree7595267f0f9cb746a0955a41bcb5e872c632e68b /sshpty.c
parent2ab1968da288e0b32f639d5e7d79ab0b61d42bc3 (diff)
downloadopenssh-git-5a6abdae0f6f2312d8bfd60b8bf2420a3393428d.tar.gz
unexpand
Diffstat (limited to 'sshpty.c')
-rw-r--r--sshpty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sshpty.c b/sshpty.c
index 91de7593..a7e7e276 100644
--- a/sshpty.c
+++ b/sshpty.c
@@ -164,8 +164,8 @@ pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, int namebuflen)
#else /* HAVE_DEV_PTS_AND_PTC */
#ifdef _CRAY
char buf[64];
- int i;
- int highpty;
+ int i;
+ int highpty;
#ifdef _SC_CRAY_NPTY
highpty = sysconf(_SC_CRAY_NPTY);
@@ -289,7 +289,7 @@ pty_make_controlling_tty(int *ttyfd, const char *ttyname)
if (fd < 0)
error("%.100s: %.100s", ttyname, strerror(errno));
close(*ttyfd);
- *ttyfd = fd;
+ *ttyfd = fd;
#else /* _CRAY */
/* First disconnect from the old controlling tty. */