Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ftpd initialise confdir to _DEFAULT_CONFDIR again, s...



details:   https://anonhg.NetBSD.org/src/rev/c207a0b2fbc1
branches:  trunk
changeset: 499817:c207a0b2fbc1
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Nov 30 08:33:33 2000 +0000

description:
initialise confdir to _DEFAULT_CONFDIR again, so that -C works...

diffstat:

 libexec/ftpd/ftpd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e065a8d09041 -r c207a0b2fbc1 libexec/ftpd/ftpd.c
--- a/libexec/ftpd/ftpd.c       Thu Nov 30 07:33:52 2000 +0000
+++ b/libexec/ftpd/ftpd.c       Thu Nov 30 08:33:33 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ftpd.c,v 1.116 2000/11/30 06:06:08 lukem Exp $ */
+/*     $NetBSD: ftpd.c,v 1.117 2000/11/30 08:33:33 lukem Exp $ */
 
 /*
  * Copyright (c) 1997-2000 The NetBSD Foundation, Inc.
@@ -109,7 +109,7 @@
 #if 0
 static char sccsid[] = "@(#)ftpd.c     8.5 (Berkeley) 4/28/95";
 #else
-__RCSID("$NetBSD: ftpd.c,v 1.116 2000/11/30 06:06:08 lukem Exp $");
+__RCSID("$NetBSD: ftpd.c,v 1.117 2000/11/30 08:33:33 lukem Exp $");
 #endif
 #endif /* not lint */
 
@@ -184,7 +184,7 @@
 static struct utmp utmp;       /* for utmp */
 
 static const char *anondir = NULL;
-static const char *confdir = NULL;
+static const char *confdir = _DEFAULT_CONFDIR;
 
 #if defined(KERBEROS) || defined(KERBEROS5)
 int    has_ccache = 0;



Home | Main Index | Thread Index | Old Index