From cd6f2dac3fac82ed613336805ea5aca2e1451737 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Fri, 27 Sep 1996 20:08:58 +0000 Subject: [PATCH] * cmds.c (setpeer): Apply jik's fix so "-n" actually works as intended. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9130 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/gssftp/ftp/ChangeLog | 5 +++++ src/appl/gssftp/ftp/cmds.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/appl/gssftp/ftp/ChangeLog b/src/appl/gssftp/ftp/ChangeLog index 82d6ecf33..9224e5dd8 100644 --- a/src/appl/gssftp/ftp/ChangeLog +++ b/src/appl/gssftp/ftp/ChangeLog @@ -1,3 +1,8 @@ +Fri Sep 27 16:05:09 1996 Tom Yu + + * cmds.c (setpeer): Apply jik's fix so "-n" actually works as + intended. + Tue Sep 10 14:07:15 1996 Tom Yu * ftp.M: remove ".so man1/header.doc" diff --git a/src/appl/gssftp/ftp/cmds.c b/src/appl/gssftp/ftp/cmds.c index d0dc5dda6..97bcc9040 100644 --- a/src/appl/gssftp/ftp/cmds.c +++ b/src/appl/gssftp/ftp/cmds.c @@ -167,9 +167,10 @@ setpeer(argc, argv) mode = MODE_S; stru = STRU_F; (void) strcpy(bytename, "8"), bytesize = 8; - do_auth(); - if (autologin) + if (autologin) { + do_auth(); (void) login(argv[1]); + } if (0) { setpbsz(1<<20); -- 2.26.2