commit eee276285270c8a4229e710e076371c8014c7691 from: Alexander Barton date: Mon Oct 04 23:23:41 2004 UTC Changed "read buffer" to "receive buffer" as suggested by Goetz. commit - c79fa28a66110b5a5f938b283c7608e749473efc commit + eee276285270c8a4229e710e076371c8014c7691 blob - 7aa2953703609833d15bf0f03a58a83928932a24 blob + 31f2c1d2764879520f2b72da993487e78cf053eb --- src/ngircd/conn.c +++ src/ngircd/conn.c @@ -16,7 +16,7 @@ #include "portab.h" -static char UNUSED id[] = "$Id: conn.c,v 1.138 2004/10/04 23:09:04 alex Exp $"; +static char UNUSED id[] = "$Id: conn.c,v 1.139 2004/10/04 23:23:41 alex Exp $"; #include "imp.h" #include @@ -1133,8 +1133,8 @@ Read_Request( CONN_ID Idx ) #endif { /* Der Lesepuffer ist voll */ - Log( LOG_ERR, "Read buffer overflow (connection %d): %d bytes!", Idx, My_Connections[Idx].rdatalen ); - Conn_Close( Idx, "Read buffer overflow!", NULL, FALSE ); + Log( LOG_ERR, "Receive buffer overflow (connection %d): %d bytes!", Idx, My_Connections[Idx].rdatalen ); + Conn_Close( Idx, "Receive buffer overflow!", NULL, FALSE ); return; } @@ -1276,7 +1276,7 @@ Handle_Buffer( CONN_ID Idx ) if( My_Connections[Idx].rdatalen > ZREADBUFFER_LEN ) { /* Hupsa! Soviel Platz haben wir aber gar nicht! */ - Log( LOG_ALERT, "Can't move read buffer: No space left in unzip buffer (need %d bytes)!", My_Connections[Idx].rdatalen ); + Log( LOG_ALERT, "Can't move receive buffer: No space left in unzip buffer (need %d bytes)!", My_Connections[Idx].rdatalen ); return FALSE; } memcpy( My_Connections[Idx].zip.rbuf, My_Connections[Idx].rbuf, My_Connections[Idx].rdatalen );