From: Theodore Tso Date: Fri, 2 Oct 1998 20:23:31 +0000 (+0000) Subject: cmdtab.c: Update help message for passive mode so that it X-Git-Tag: krb5-1.1-beta1~528 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5be0133bf001b9949b4076df7285bcd3eb6ad147;p=krb5.git 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10956 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/appl/gssftp/ftp/ChangeLog b/src/appl/gssftp/ftp/ChangeLog index d389d990a..786283c9c 100644 --- a/src/appl/gssftp/ftp/ChangeLog +++ b/src/appl/gssftp/ftp/ChangeLog @@ -1,3 +1,10 @@ +Fri Oct 2 16:16:13 1998 Theodore Y. Ts'o + + * 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 * cmds.c (user): Replace "oldlevel" with the more descriptive diff --git a/src/appl/gssftp/ftp/cmdtab.c b/src/appl/gssftp/ftp/cmdtab.c index cb61fc811..de572996f 100644 --- a/src/appl/gssftp/ftp/cmdtab.c +++ b/src/appl/gssftp/ftp/cmdtab.c @@ -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[] = { diff --git a/src/appl/gssftp/ftp/main.c b/src/appl/gssftp/ftp/main.c index 2ba3a4cf7..685c14758 100644 --- a/src/appl/gssftp/ftp/main.c +++ b/src/appl/gssftp/ftp/main.c @@ -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 */