about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2002-03-26 23:47:45 +0000
committerAlexander Barton <alex@barton.de>2002-03-26 23:47:45 +0000
commite39925af9bc1b2b4be7c04453ef8a96ef56a9d1e (patch)
treec55c9857268d9cbcc99e0e70ec961b548c654810
parentd58fe2f1857defe98ba2d14c078d10727fe05caf (diff)
downloadngircd-e39925af9bc1b2b4be7c04453ef8a96ef56a9d1e.tar.gz
ngircd-e39925af9bc1b2b4be7c04453ef8a96ef56a9d1e.zip
- Ping-Timeouts geben als Debug-Meldung den konfigurierten Timeout mit aus.
-rw-r--r--src/ngircd/conn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c
index 4c0df729..f9d5e4bf 100644
--- a/src/ngircd/conn.c
+++ b/src/ngircd/conn.c
@@ -9,7 +9,7 @@
  * 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.56 2002/03/14 13:42:33 alex Exp $
+ * $Id: conn.c,v 1.57 2002/03/26 23:47:45 alex Exp $
  *
  * connect.h: Verwaltung aller Netz-Verbindungen ("connections")
  */
@@ -809,7 +809,7 @@ LOCAL VOID Check_Connections( VOID )
 				if( My_Connections[i].lastping < time( NULL ) - Conf_PongTimeout )
 				{
 					/* Timeout */
-					Log( LOG_DEBUG, "Connection %d: Ping timeout.", i );
+					Log( LOG_DEBUG, "Connection %d: Ping timeout: %d seconds.", i, Conf_PongTimeout );
 					Conn_Close( i, NULL, "Ping timeout", TRUE );
 				}
 			}