diff options
Diffstat (limited to 'contrib/lukemftpd/src/cmds.c')
-rw-r--r-- | contrib/lukemftpd/src/cmds.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/contrib/lukemftpd/src/cmds.c b/contrib/lukemftpd/src/cmds.c index 7a287ea..7c8e2afe 100644 --- a/contrib/lukemftpd/src/cmds.c +++ b/contrib/lukemftpd/src/cmds.c @@ -1,7 +1,7 @@ -/* $NetBSD: cmds.c,v 1.20 2003/01/08 18:07:31 manu Exp $ */ +/* $NetBSD: cmds.c,v 1.23 2004-08-09 12:56:47 lukem Exp $ */ /* - * Copyright (c) 1999-2001 The NetBSD Foundation, Inc. + * Copyright (c) 1999-2004 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation @@ -48,11 +48,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -101,7 +97,7 @@ #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: cmds.c,v 1.20 2003/01/08 18:07:31 manu Exp $"); +__RCSID("$NetBSD: cmds.c,v 1.23 2004-08-09 12:56:47 lukem Exp $"); #endif /* not lint */ #include <sys/param.h> @@ -111,7 +107,6 @@ __RCSID("$NetBSD: cmds.c,v 1.20 2003/01/08 18:07:31 manu Exp $"); #include <dirent.h> #include <errno.h> -#include <setjmp.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -812,7 +807,7 @@ static void mlsname(FILE *fp, factelem *fe) { char realfile[MAXPATHLEN]; - int i, userf; + int i, userf = 0; for (i = 0; i < FACTTABSIZE; i++) { if (facttab[i].enabled) |