summaryrefslogtreecommitdiffstats
path: root/sshpty.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-09 21:41:48 +0200
committerBen Lindstrom <mouring@eviladmin.org>2002-06-09 21:41:48 +0200
commit5a6abdae0f6f2312d8bfd60b8bf2420a3393428d (patch)
tree7595267f0f9cb746a0955a41bcb5e872c632e68b /sshpty.c
parent - (bal) Removed --{enable/disable}-suid-ssh (diff)
downloadopenssh-5a6abdae0f6f2312d8bfd60b8bf2420a3393428d.tar.xz
openssh-5a6abdae0f6f2312d8bfd60b8bf2420a3393428d.zip
unexpand
Diffstat (limited to '')
-rw-r--r--sshpty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sshpty.c b/sshpty.c
index 91de75939..a7e7e2769 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. */