(args): set correct variable when `-l' so that logging actually works

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7451 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-11-30 15:58:06 +00:00
parent c9e3b8d6c7
commit f331fef9a4

View File

@@ -198,7 +198,6 @@ parse_auth_level(char *str)
static int debug_flag;
static int interactive_flag;
static char *guest_umask_string;
static int logflag;
static char *port_string;
static char *umask_string;
static char *auth_string;
@@ -213,7 +212,7 @@ struct getargs args[] = {
{ NULL, 'i', arg_flag, &interactive_flag, "don't assume stdin is a socket" },
{ NULL, 'p', arg_string, &port_string, "what port to listen to" },
{ NULL, 'g', arg_string, &guest_umask_string, "umask for guest logins" },
{ NULL, 'l', arg_counter, &logflag, "log more stuff", "" },
{ NULL, 'l', arg_counter, &logging, "log more stuff", "" },
{ NULL, 't', arg_integer, &ftpd_timeout, "initial timeout" },
{ NULL, 'T', arg_integer, &maxtimeout, "max timeout" },
{ NULL, 'u', arg_string, &umask_string, "umask for user logins" },