summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-08-13 06:34:39 +0000
committerderaadt <deraadt@openbsd.org>1996-08-13 06:34:39 +0000
commit41524ed7974a2dcb0a78bb8d4a5c7fd84cbef0f9 (patch)
treeabc80b3b35c460d10ac3b14dd7869e227616091c
parentdo not play with the dog; messed up socket type (diff)
downloadwireguard-openbsd-41524ed7974a2dcb0a78bb8d4a5c7fd84cbef0f9.tar.xz
wireguard-openbsd-41524ed7974a2dcb0a78bb8d4a5c7fd84cbef0f9.zip
log non-anon stuff for -S too, from downsj
-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;