Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/ftpd move stuff around, so the `thank you' message i...
details: https://anonhg.NetBSD.org/src/rev/fa96268b7d93
branches: trunk
changeset: 473242:fa96268b7d93
user: lukem <lukem%NetBSD.org@localhost>
date: Wed May 26 13:30:10 1999 +0000
description:
move stuff around, so the `thank you' message is counted in the
syslogged bytecount.
diffstat:
libexec/ftpd/ftpcmd.y | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diffs (41 lines):
diff -r 9e1b96084421 -r fa96268b7d93 libexec/ftpd/ftpcmd.y
--- a/libexec/ftpd/ftpcmd.y Wed May 26 08:43:30 1999 +0000
+++ b/libexec/ftpd/ftpcmd.y Wed May 26 13:30:10 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ftpcmd.y,v 1.30 1999/05/24 21:57:19 ross Exp $ */
+/* $NetBSD: ftpcmd.y,v 1.31 1999/05/26 13:30:10 lukem Exp $ */
/*
* Copyright (c) 1985, 1988, 1993, 1994
@@ -47,7 +47,7 @@
#if 0
static char sccsid[] = "@(#)ftpcmd.y 8.3 (Berkeley) 4/6/94";
#else
-__RCSID("$NetBSD: ftpcmd.y,v 1.30 1999/05/24 21:57:19 ross Exp $");
+__RCSID("$NetBSD: ftpcmd.y,v 1.31 1999/05/26 13:30:10 lukem Exp $");
#endif
#endif /* not lint */
@@ -195,6 +195,11 @@
"Total traffic for this session was %qd byte%s in %qd transfer%s.",
(qdfmt_t)total_bytes, PLURAL(total_bytes),
(qdfmt_t)total_xfers, PLURAL(total_xfers));
+ }
+ reply(221,
+ "Thank you for using the FTP service on %s.",
+ hostname);
+ if (logged_in) {
syslog(LOG_INFO,
"Data traffic: %qd byte%s in %qd file%s",
(qdfmt_t)total_data, PLURAL(total_data),
@@ -204,9 +209,7 @@
(qdfmt_t)total_bytes, PLURAL(total_bytes),
(qdfmt_t)total_xfers, PLURAL(total_xfers));
}
- reply(221,
- "Thank you for using the FTP service on %s.",
- hostname);
+
dologout(0);
}
Home |
Main Index |
Thread Index |
Old Index