From 5b25c8ccd0420b7e0834ef6ec186b57453f2156a Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 22 Oct 2002 23:25:29 +0000 Subject: [PATCH] - Verbindungsstatistik ein wenig klarer formuliert. --- configure.in | 4 ++-- src/ngircd/conn.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index 4b024b62..de4ae977 100644 --- a/configure.in +++ b/configure.in @@ -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: configure.in,v 1.63 2002/10/11 00:49:49 alex Exp $ +# $Id: configure.in,v 1.64 2002/10/22 23:25:29 alex Exp $ # # -- Initialisierung -- @@ -176,7 +176,7 @@ fi # -- Variablen -- if test "$GCC" = "yes"; then - CFLAGS="-Wall $CFLAGS" + CFLAGS="-Wall -ansi $CFLAGS" fi the_CFLAGS="$CFLAGS" diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index bb327195..db7bccb4 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.84 2002/10/21 13:45:07 alex Exp $ + * $Id: conn.c,v 1.85 2002/10/22 23:25:29 alex Exp $ * * connect.h: Verwaltung aller Netz-Verbindungen ("connections") */ @@ -466,7 +466,7 @@ Conn_Close( CONN_ID Idx, CHAR *LogMsg, CHAR *FwdMsg, BOOLEAN InformClient ) /* Statistik an Client melden, wenn User */ if(( c != NULL ) && ( Client_Type( c ) == CLIENT_USER )) { - Conn_WriteStr( Idx, "NOTICE %s :%sConnection statistics: %.1f kb received, %.1f kb sent.", Client_ThisServer( ), NOTICE_TXTPREFIX, (DOUBLE)My_Connections[Idx].bytes_in / 1024, (DOUBLE)My_Connections[Idx].bytes_out / 1024 ); + Conn_WriteStr( Idx, "NOTICE %s :%sConnection statistics: client %.1f kb, server %.1f kb.", Client_ThisServer( ), NOTICE_TXTPREFIX, (DOUBLE)My_Connections[Idx].bytes_in / 1024, (DOUBLE)My_Connections[Idx].bytes_out / 1024 ); } /* ERROR an Client schicken (von RFC so vorgesehen!) */ -- 2.39.2