diff options
| author | Alexander Barton <alex@barton.de> | 2002-03-04 23:16:23 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2002-03-04 23:16:23 +0000 |
| commit | ae6ab2c3e0ddeffaec67b916d83db93b99e84b80 (patch) | |
| tree | 4f9c1a92efc9ab8d1599f7c3cbc362b3fc5b85a2 | |
| parent | b3a64f5e08102846bbad17b10fffad19eabb087e (diff) | |
| download | ngircd-ae6ab2c3e0ddeffaec67b916d83db93b99e84b80.tar.gz ngircd-ae6ab2c3e0ddeffaec67b916d83db93b99e84b80.zip | |
- Logging geaendert: detaillierter im Syslog, "allgemeiner" fuer Clients.
| -rw-r--r-- | src/ngircd/conn.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index 71b4da5f..5c37329f 100644 --- a/src/ngircd/conn.c +++ b/src/ngircd/conn.c @@ -9,11 +9,14 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: conn.c,v 1.46 2002/03/02 03:32:08 alex Exp $ + * $Id: conn.c,v 1.47 2002/03/04 23:16:23 alex Exp $ * * connect.h: Verwaltung aller Netz-Verbindungen ("connections") * * $Log: conn.c,v $ + * Revision 1.47 2002/03/04 23:16:23 alex + * - Logging geaendert: detaillierter im Syslog, "allgemeiner" fuer Clients. + * * Revision 1.46 2002/03/02 03:32:08 alex * - Aenderung des Idle-Verhalten revidiert: das war ein Schnellschuss :-/ * @@ -859,7 +862,7 @@ LOCAL VOID Read_Request( CONN_ID Idx ) { /* Socket wurde geschlossen */ Log( LOG_INFO, "%s:%d is closing the connection ...", inet_ntoa( My_Connections[Idx].addr.sin_addr ), ntohs( My_Connections[Idx].addr.sin_port)); - Conn_Close( Idx, NULL, "Client closed connection.", FALSE ); + Conn_Close( Idx, "Socket closed!", "Client closed connection", FALSE ); return; } @@ -867,7 +870,7 @@ LOCAL VOID Read_Request( CONN_ID Idx ) { /* Fehler beim Lesen */ Log( LOG_ERR, "Read error on connection %d: %s!", Idx, strerror( errno )); - Conn_Close( Idx, NULL, "Read error!", FALSE ); + Conn_Close( Idx, "Read error!", "Client closed connection", FALSE ); return; } |