* cmds.c (setpeer): Apply jik's fix so "-n" actually works as
authorTom Yu <tlyu@mit.edu>
Fri, 27 Sep 1996 20:08:58 +0000 (20:08 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 27 Sep 1996 20:08:58 +0000 (20:08 +0000)
intended.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9130 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/gssftp/ftp/ChangeLog
src/appl/gssftp/ftp/cmds.c

index 82d6ecf334afe6f0af28bde8ce4ed9784f140ded..9224e5dd8747751beeaa38a2ffd5dbc1ddee372a 100644 (file)
@@ -1,3 +1,8 @@
+Fri Sep 27 16:05:09 1996  Tom Yu  <tlyu@mit.edu>
+
+       * cmds.c (setpeer): Apply jik's fix so "-n" actually works as
+       intended.
+
 Tue Sep 10 14:07:15 1996  Tom Yu  <tlyu@mit.edu>
 
        * ftp.M: remove ".so man1/header.doc"
index d0dc5dda66429d728f8b6c208f0d9a82c3d57844..97bcc90400028bfcd5ab34c0dcd60b0629f9d895 100644 (file)
@@ -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);