diff options
| author | Alexander Barton <alex@barton.de> | 2002-10-22 23:25:29 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2002-10-22 23:25:29 +0000 |
| commit | 5b25c8ccd0420b7e0834ef6ec186b57453f2156a (patch) | |
| tree | 89f326c64e021319033c5bb2f240837176d9143f | |
| parent | 135abb5d74a37442312d8bc33f75af20c6c69d53 (diff) | |
| download | ngircd-5b25c8ccd0420b7e0834ef6ec186b57453f2156a.tar.gz ngircd-5b25c8ccd0420b7e0834ef6ec186b57453f2156a.zip | |
- Verbindungsstatistik ein wenig klarer formuliert.
| -rw-r--r-- | configure.in | 4 | ||||
| -rw-r--r-- | 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!) */ |