Skip to content

Commit

Permalink
cmdtab.c: Update help message for passive mode so that it
Browse files Browse the repository at this point in the history
	indicates that the "passive" command toggles passive mode.

main.c (main): Make passive mode off by default.


git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10956 dc483132-0cff-0310-8789-dd5450dbe970
  • Loading branch information
tytso committed Oct 2, 1998
1 parent e9c67c2 commit 4f9b3aa
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions src/appl/gssftp/ftp/ChangeLog
@@ -1,3 +1,10 @@
Fri Oct 2 16:16:13 1998 Theodore Y. Ts'o <tytso@mit.edu>

* cmdtab.c: Update help message for passive mode so that it
indicates that the "passive" command toggles passive mode.

* main.c (main): Make passive mode off by default.

Fri Aug 28 18:46:35 1998 Geoffrey King <gjking@mit.edu>

* cmds.c (user): Replace "oldlevel" with the more descriptive
Expand Down
2 changes: 1 addition & 1 deletion src/appl/gssftp/ftp/cmdtab.c
Expand Up @@ -137,7 +137,7 @@ char umaskhelp[] = "get (set) umask on remote side";
char userhelp[] = "send new user information";
char verbosehelp[] = "toggle verbose mode";
#ifndef NO_PASSIVE_MODE
char setpassivehelp[] = "enter passive transfer mode";
char setpassivehelp[] = "toggle passive transfer mode";
#endif

struct cmd cmdtab[] = {
Expand Down
2 changes: 1 addition & 1 deletion src/appl/gssftp/ftp/main.c
Expand Up @@ -175,7 +175,7 @@ main(argc, argv)
cpend = 0; /* no pending replies */
proxy = 0; /* proxy not active */
#ifndef NO_PASSIVE_MODE
passivemode = 1; /* passive mode active */
passivemode = 0; /* passive mode not active */
#endif
crflag = 1; /* strip c.r. on ascii gets */
sendport = -1; /* not using ports */
Expand Down

0 comments on commit 4f9b3aa

Please sign in to comment.