X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fconn.c;h=4283c2d3dd449fced85225c294f4dfdcc6e5bf75;hp=4c0df7293ab1f59cce239e4b823e941fec6d8c55;hb=95d55c56c6967f2e85246bd168cf53fec4d3b9fd;hpb=28c5a21fa0d001f443bf5bba435e84b6147a578e diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index 4c0df729..4283c2d3 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.58 2002/03/29 22:54:35 alex Exp $ * * connect.h: Verwaltung aller Netz-Verbindungen ("connections") */ @@ -163,7 +163,7 @@ GLOBAL VOID Conn_Exit( VOID ) } /* Conn_Exit */ -GLOBAL BOOLEAN Conn_NewListener( CONST INT Port ) +GLOBAL BOOLEAN Conn_NewListener( CONST UINT Port ) { /* Neuen Listen-Socket erzeugen: der Server wartet dann auf * dem angegebenen Port auf Verbindungen. Kann der Listen- @@ -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 ); } }