Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/libexec/telnetd Pullup rev 1.19 (requested by abs in ti...



details:   https://anonhg.NetBSD.org/src/rev/cc566d65feb5
branches:  netbsd-1-6
changeset: 530960:cc566d65feb5
user:      jmc <jmc%NetBSD.org@localhost>
date:      Wed Oct 22 06:19:03 2003 +0000

description:
Pullup rev 1.19 (requested by abs in ticket #1534)

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 8104c5ffea00 -r cc566d65feb5 libexec/telnetd/utility.c
--- a/libexec/telnetd/utility.c Wed Oct 22 06:15:50 2003 +0000
+++ b/libexec/telnetd/utility.c Wed Oct 22 06:19:03 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: utility.c,v 1.18 2001/07/19 04:57:50 itojun Exp $      */
+/*     $NetBSD: utility.c,v 1.18.2.1 2003/10/22 06:19:03 jmc 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.18.2.1 2003/10/22 06:19:03 jmc 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