From f331fef9a49740dae1ba6e5e977627d83c76fefb Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Tue, 30 Nov 1999 15:58:06 +0000 Subject: [PATCH] (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 --- appl/ftp/ftpd/ftpd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/appl/ftp/ftpd/ftpd.c b/appl/ftp/ftpd/ftpd.c index ac0e22177..9289ff9c5 100644 --- a/appl/ftp/ftpd/ftpd.c +++ b/appl/ftp/ftpd/ftpd.c @@ -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" },