summaryrefslogtreecommitdiff
path: root/libexec/ftpd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-13 06:34:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-13 06:34:40 +0000
commit2c7ff53d1058ad5ccf1060e9bd93ed9ca561eb63 (patch)
treed96f6bf9462f791661b9644f53ac518288b8a3a0 /libexec/ftpd
parent333897552d3d3ccdad276151a4418992c738a82b (diff)
log non-anon stuff for -S too, from downsj
Diffstat (limited to 'libexec/ftpd')
-rw-r--r--libexec/ftpd/ftpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 10c480373e6..50a5135f9d4 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpd.c,v 1.14 1996/08/10 06:12:12 downsj Exp $ */
+/* $OpenBSD: ftpd.c,v 1.15 1996/08/13 06:34:39 deraadt Exp $ */
/* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */
/*
@@ -932,7 +932,7 @@ retrieve(cmd, name)
time(&start);
send_data(fin, dout, st.st_blksize, st.st_size,
(restart_point == 0 && cmd == 0 && S_ISREG(st.st_mode)));
- if ((cmd == 0) && guest && stats)
+ if ((cmd == 0) && stats)
logxfer(name, st.st_size, start);
(void) fclose(dout);
data = -1;