diff options
author | yar <yar@FreeBSD.org> | 2004-11-18 13:55:15 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2004-11-18 13:55:15 +0000 |
commit | d46c701ed56e55a92a6548b96521043e3c6d696b (patch) | |
tree | ad4a84ce1a19a30b9166e9ee65db347c7b2271c3 /libexec/ftpd | |
parent | 1ad65ec5558a78e0b11a136df0e67d66397cdcff (diff) | |
download | FreeBSD-src-d46c701ed56e55a92a6548b96521043e3c6d696b.zip FreeBSD-src-d46c701ed56e55a92a6548b96521043e3c6d696b.tar.gz |
Nitpicking on style(9) and whitespace.
Tested with: md5(1)
Diffstat (limited to 'libexec/ftpd')
-rw-r--r-- | libexec/ftpd/ftpd.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c index a8a97bd..2e791e9 100644 --- a/libexec/ftpd/ftpd.c +++ b/libexec/ftpd/ftpd.c @@ -139,12 +139,12 @@ int stru; /* avoid C keyword */ int mode; int usedefault = 1; /* for data transfers */ int pdata = -1; /* for passive mode */ -int readonly=0; /* Server is in readonly mode. */ -int noepsv=0; /* EPSV command is disabled. */ -int noretr=0; /* RETR command is disabled. */ -int noguestretr=0; /* RETR command is disabled for anon users. */ -int noguestmkd=0; /* MKD command is disabled for anon users. */ -int noguestmod=1; /* anon users may not modify existing files. */ +int readonly = 0; /* Server is in readonly mode. */ +int noepsv = 0; /* EPSV command is disabled. */ +int noretr = 0; /* RETR command is disabled. */ +int noguestretr = 0; /* RETR command is disabled for anon users. */ +int noguestmkd = 0; /* MKD command is disabled for anon users. */ +int noguestmod = 1; /* anon users may not modify existing files. */ static volatile sig_atomic_t recvurg; sig_atomic_t transflag; @@ -176,17 +176,17 @@ static struct ftphost { char remotehost[MAXHOSTNAMELEN]; char *ident = NULL; -static char ttyline[20]; -char *tty = ttyline; /* for klogin */ +static char ttyline[20]; +char *tty = ttyline; /* for klogin */ #ifdef USE_PAM static int auth_pam(struct passwd**, const char*); -pam_handle_t *pamh = NULL; +pam_handle_t *pamh = NULL; #endif -static struct opie opiedata; -static char opieprompt[OPIE_CHALLENGE_MAX+1]; -static int pwok; +static struct opie opiedata; +static char opieprompt[OPIE_CHALLENGE_MAX+1]; +static int pwok; char *pid_file = NULL; @@ -222,7 +222,7 @@ char proctitle[LINE_MAX]; /* initial part of title */ #ifdef VIRTUAL_HOSTING static void inithosts(void); -static void selecthost(union sockunion *); +static void selecthost(union sockunion *); #endif static void ack(char *); static void sigurg(int); |