Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/libexec/telnetd If the peer closes the connection in ttloop()
details: https://anonhg.NetBSD.org/src/rev/1760330111f1
branches: trunk
changeset: 535218:1760330111f1
user: abs <abs%NetBSD.org@localhost>
date: Mon Aug 12 09:19:00 2002 +0000
description:
If the peer closes the connection in ttloop()
syslog(LOG_ERR, "ttloop: peer died: %m");
is a little console spammingly excessive. Switch to LOG_INFO.
diffstat:
libexec/telnetd/utility.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r bfb0feec0205 -r 1760330111f1 libexec/telnetd/utility.c
--- a/libexec/telnetd/utility.c Mon Aug 12 09:06:59 2002 +0000
+++ b/libexec/telnetd/utility.c Mon Aug 12 09:19:00 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: utility.c,v 1.18 2001/07/19 04:57:50 itojun Exp $ */
+/* $NetBSD: utility.c,v 1.19 2002/08/12 09:19:00 abs Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)utility.c 8.4 (Berkeley) 5/30/95";
#else
-__RCSID("$NetBSD: utility.c,v 1.18 2001/07/19 04:57:50 itojun Exp $");
+__RCSID("$NetBSD: utility.c,v 1.19 2002/08/12 09:19:00 abs Exp $");
#endif
#endif /* not lint */
@@ -77,7 +77,7 @@
syslog(LOG_ERR, "ttloop: read: %m");
exit(1);
} else if (ncc == 0) {
- syslog(LOG_ERR, "ttloop: peer died: %m");
+ syslog(LOG_INFO, "ttloop: peer died: %m");
exit(1);
}
DIAG(TD_REPORT, {output_data("td: ttloop read %d chars\r\n", ncc);});
Home |
Main Index |
Thread Index |
Old Index