From 1ffe188a2982dd79d05de415babff5dd906e22ad Mon Sep 17 00:00:00 2001 From: millert Date: Fri, 14 Mar 1997 05:03:45 +0000 Subject: [PATCH] Change an occurrence of if (fromatty) -> if (edit) -- from Thorsten. --- usr.bin/ftp/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/ftp/main.c b/usr.bin/ftp/main.c index 4c720d1e822..4f49e13c585 100644 --- a/usr.bin/ftp/main.c +++ b/usr.bin/ftp/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.22 1997/03/14 04:32:17 millert Exp $ */ +/* $OpenBSD: main.c,v 1.23 1997/03/14 05:03:45 millert Exp $ */ /* $NetBSD: main.c,v 1.18 1997/03/13 06:23:19 lukem Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)main.c 8.6 (Berkeley) 10/9/94"; #else -static char rcsid[] = "$OpenBSD: main.c,v 1.22 1997/03/14 04:32:17 millert Exp $"; +static char rcsid[] = "$OpenBSD: main.c,v 1.23 1997/03/14 05:03:45 millert Exp $"; #endif #endif /* not lint */ @@ -199,7 +199,7 @@ main(argc, argv) } #ifndef SMALLFTP - if (fromatty) { + if (editing) { el = el_init(__progname, stdin, stdout); /* init editline */ hist = history_init(); /* init the builtin history */ -- 2.20.1