]> arthur.barton.de Git - ngircd-alex.git/commitdiff
- Verbindungsstatistik ein wenig klarer formuliert.
authorAlexander Barton <alex@barton.de>
Tue, 22 Oct 2002 23:25:29 +0000 (23:25 +0000)
committerAlexander Barton <alex@barton.de>
Tue, 22 Oct 2002 23:25:29 +0000 (23:25 +0000)
configure.in
src/ngircd/conn.c

index 4b024b6233f90a1f0bbf688458934c5e66d4b0e5..de4ae977fb0923f2c20582a3abb749573625cd46 100644 (file)
@@ -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"
index bb3271958557b291852f64fe2a07fc0b638ad927..db7bccb4467b06153e504d0d5e78bc5435ba2a6c 100644 (file)
@@ -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!) */