From: Alexander Barton Date: Wed, 9 Oct 2002 17:02:49 +0000 (+0000) Subject: - double in DOUBLE geaendert (ist in portab.h nun definiert). X-Git-Tag: rel-0-6-0-pre1~174 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=af719e60c5e277ac006d3e3e19ef308f94c61b71 - double in DOUBLE geaendert (ist in portab.h nun definiert). --- diff --git a/src/ngircd/conn.c b/src/ngircd/conn.c index 25780156..16e26855 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.78 2002/10/09 16:53:02 alex Exp $ + * $Id: conn.c,v 1.79 2002/10/09 17:02:49 alex Exp $ * * connect.h: Verwaltung aller Netz-Verbindungen ("connections") */ @@ -455,7 +455,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: %.1f kb received, %.1f kb sent.", 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!) */