aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1998-05-15 15:06:58 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1998-05-15 15:06:58 +0000
commit29030694621b0e2000f5a6ad1bf266a3a4bc3444 (patch)
treef8646eb5895d12e9225211f45c373684d758106b /libexec
parent0eaa45335d9ebe9857186a5840ec744e42274df9 (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/ftpd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index fca0ad92fe15..9e3b40d5072c 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -44,7 +44,7 @@ static char copyright[] =
static char sccsid[] = "@(#)ftpd.c 8.4 (Berkeley) 4/16/94";
#endif
static const char rcsid[] =
- "$Id: ftpd.c,v 1.45 1998/02/24 08:45:57 eivind Exp $";
+ "$Id: ftpd.c,v 1.46 1998/04/28 03:37:23 dg Exp $";
#endif /* not lint */
/*
@@ -273,7 +273,8 @@ main(argc, argv, envp)
char *cp, line[LINE_MAX];
FILE *fd;
- tzset(); /* in case no timezone database in ~ftp */
+ setenv("TZ", "", 1); /* since protocol have no way to tell offset */
+ tzset();
#ifdef OLD_SETPROCTITLE
/*