diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-11-28 19:12:32 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-11-28 19:12:32 +0000 |
commit | 099df0c303ed2124c306324659574aba77f2ef6b (patch) | |
tree | 5aed8c01e8667a44fd61f8f41caee5d1c9463f98 /libexec/ftpd/ftpd.c | |
parent | 76c99333fb411faeb242e5db6ac62dea00e68f6e (diff) |
fix ttyline setting, fixes proctitle.
notice independently by theo and pval, fix from moritz jodeit
Diffstat (limited to 'libexec/ftpd/ftpd.c')
-rw-r--r-- | libexec/ftpd/ftpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index cc1d11f67e8..d867331ff30 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ftpd.c,v 1.156 2004/11/28 18:49:29 henning Exp $ */ +/* $OpenBSD: ftpd.c,v 1.157 2004/11/28 19:12:31 henning Exp $ */ /* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */ /* @@ -70,7 +70,7 @@ static const char copyright[] = static const char sccsid[] = "@(#)ftpd.c 8.4 (Berkeley) 4/16/94"; #else static const char rcsid[] = - "$OpenBSD: ftpd.c,v 1.156 2004/11/28 18:49:29 henning Exp $"; + "$OpenBSD: ftpd.c,v 1.157 2004/11/28 19:12:31 henning Exp $"; #endif #endif /* not lint */ @@ -178,7 +178,7 @@ char hostname[MAXHOSTNAMELEN]; char remotehost[MAXHOSTNAMELEN]; char dhostname[MAXHOSTNAMELEN]; char *guestpw; -static char ttyline[20]; +char ttyline[20]; char *tty = ttyline; /* for klogin */ static struct utmp utmp; /* for utmp */ static login_cap_t *lc; |