From: Tom Yu Date: Fri, 27 Sep 1996 20:08:58 +0000 (+0000) Subject: * cmds.c (setpeer): Apply jik's fix so "-n" actually works as X-Git-Tag: krb5-1.0-freeze1~292 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cd6f2dac3fac82ed613336805ea5aca2e1451737;p=krb5.git * 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 --- 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);